Don't clear the .bss section anymore, call the wut init functions only once, except the devop one

This commit is contained in:
Maschell
2020-06-03 19:33:09 +02:00
parent d4c4e7c669
commit 32d635a512
3 changed files with 6 additions and 6 deletions

View File

@@ -266,7 +266,7 @@ DECL(uint32_t, OSReceiveMessage, OSMessageQueue *queue, OSMessage *message, uint
CallHook(gPluginInformation, WUPS_LOADER_HOOK_ACQUIRED_FOREGROUND);
} else if (message->args[0] == 0xD1E0D1E0) {
CallHook(gPluginInformation, WUPS_LOADER_HOOK_APPLICATION_END);
//CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_DEVOPTAB);
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_DEVOPTAB);
//gInBackground = false;
//DCFlushRange(&gInBackground,4);
//unmount_sd_fat("sd");