mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
rtp: more libnx api updates
This commit is contained in:
parent
c56db864eb
commit
f15fc6645e
1 changed files with 2 additions and 4 deletions
|
@ -52,7 +52,6 @@ static void reboot_to_payload(void) {
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
fsdevMountSdmc();
|
|
||||||
consoleInit(NULL);
|
consoleInit(NULL);
|
||||||
|
|
||||||
bool can_reboot = true;
|
bool can_reboot = true;
|
||||||
|
@ -88,14 +87,13 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
if (kDown & KEY_L) { break; } // break in order to return to hbmenu
|
if (kDown & KEY_L) { break; } // break in order to return to hbmenu
|
||||||
|
|
||||||
gfxFlushBuffers();
|
consoleUpdate(NULL);
|
||||||
gfxSwapBuffers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (can_reboot) {
|
if (can_reboot) {
|
||||||
splExit();
|
splExit();
|
||||||
}
|
}
|
||||||
fsdevUnmountAll();
|
|
||||||
consoleExit(NULL);
|
consoleExit(NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue