mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-25 12:06:58 +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();
|
initLogging();
|
||||||
DEBUG_FUNCTION_LINE("Hello from Autoboot Module");
|
DEBUG_FUNCTION_LINE("Hello from Autoboot Module");
|
||||||
AXInit();
|
AXInit();
|
||||||
|
AXQuit();
|
||||||
|
|
||||||
// Clear screen to avoid screen corruptions when loading the Wii U Menu
|
// Clear screen to avoid screen corruptions when loading the Wii U Menu
|
||||||
clearScreen();
|
clearScreen();
|
||||||
@ -38,7 +39,7 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
initExternalStorage();
|
initExternalStorage();
|
||||||
|
|
||||||
if (getQuickBoot()) {
|
if (getQuickBoot()) {
|
||||||
AXQuit();
|
|
||||||
deinitLogging();
|
deinitLogging();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -132,7 +133,6 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
bootWiiUMenu();
|
bootWiiUMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
AXQuit();
|
|
||||||
Mocha_DeInitLibrary();
|
Mocha_DeInitLibrary();
|
||||||
deinitLogging();
|
deinitLogging();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user