1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 11:56:40 +00:00

rtp: more libnx api updates

This commit is contained in:
Michael Scire 2019-01-24 09:11:46 -08:00
parent c56db864eb
commit f15fc6645e

View file

@ -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;
} }