Calling FINI_WUT_DEVOPTAB at the end of a application is softlocking.

MEM2 is cleared anyway so this shouldn't be a memory leak. Needs further research
This commit is contained in:
Maschell 2020-04-29 18:07:03 +02:00
parent 2705a91c13
commit 89445b77c2

View File

@ -264,7 +264,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");