mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-21 18:39:15 +01:00
Directly call AXQuit to avoid rare crashes
This commit is contained in:
parent
1bff430b7d
commit
603478ccc6
@ -31,6 +31,7 @@ int32_t main(int32_t argc, char **argv) {
|
||||
initLogging();
|
||||
DEBUG_FUNCTION_LINE("Hello from Autoboot Module");
|
||||
AXInit();
|
||||
AXQuit();
|
||||
|
||||
// Clear screen to avoid screen corruptions when loading the Wii U Menu
|
||||
clearScreen();
|
||||
@ -38,7 +39,7 @@ int32_t main(int32_t argc, char **argv) {
|
||||
initExternalStorage();
|
||||
|
||||
if (getQuickBoot()) {
|
||||
AXQuit();
|
||||
|
||||
deinitLogging();
|
||||
return 0;
|
||||
}
|
||||
@ -132,7 +133,6 @@ int32_t main(int32_t argc, char **argv) {
|
||||
bootWiiUMenu();
|
||||
}
|
||||
|
||||
AXQuit();
|
||||
Mocha_DeInitLibrary();
|
||||
deinitLogging();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user