mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-25 03:56:58 +01:00
Make sure to librpxloader before checking for quick start
This commit is contained in:
parent
f80e83dff9
commit
4cc08d82e2
@ -42,6 +42,12 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
|
|
||||||
initExternalStorage();
|
initExternalStorage();
|
||||||
|
|
||||||
|
// Use librpxloader.
|
||||||
|
RPXLoaderStatus error3;
|
||||||
|
if ((error3 = RPXLoader_InitLibrary()) != RPX_LOADER_RESULT_SUCCESS) {
|
||||||
|
DEBUG_FUNCTION_LINE_ERR("AutobootModule: Failed to init RPXLoader. This can be ignored when not running Aroma. Error %s [%d]", RPXLoader_GetStatusStr(error3), error3);
|
||||||
|
}
|
||||||
|
|
||||||
if (getQuickBoot()) {
|
if (getQuickBoot()) {
|
||||||
deinitLogging();
|
deinitLogging();
|
||||||
return 0;
|
return 0;
|
||||||
@ -51,12 +57,6 @@ int32_t main(int32_t argc, char **argv) {
|
|||||||
OSFatal("AutobootModule: Mocha_InitLibrary failed");
|
OSFatal("AutobootModule: Mocha_InitLibrary failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use librpxloader.
|
|
||||||
RPXLoaderStatus error3;
|
|
||||||
if ((error3 = RPXLoader_InitLibrary()) != RPX_LOADER_RESULT_SUCCESS) {
|
|
||||||
DEBUG_FUNCTION_LINE("AutobootModule: Failed to init RPXLoader. This can be ignored when not running Aroma. Error %s [%d]", RPXLoader_GetStatusStr(error3), error3);
|
|
||||||
}
|
|
||||||
|
|
||||||
InputUtils::InputData buttons = InputUtils::getControllerInput();
|
InputUtils::InputData buttons = InputUtils::getControllerInput();
|
||||||
|
|
||||||
FSAInit();
|
FSAInit();
|
||||||
|
Loading…
Reference in New Issue
Block a user