Compare commits
2 Commits
f80e83dff9
...
67dfdd1fc8
Author | SHA1 | Date |
---|---|---|
Maschell | 67dfdd1fc8 | |
Maschell | 4cc08d82e2 |
|
@ -112,7 +112,7 @@ private:
|
|||
FSCmdBlock mCmdBlock{};
|
||||
};
|
||||
|
||||
bool getQuickBoot() {
|
||||
bool launchQuickStartTitle() {
|
||||
// Waits until the quick start menu has been closed. TODO: abort this checks after a given time?
|
||||
auto bootCheck = CCRSysCaffeineBootCheck();
|
||||
if (bootCheck == 0) {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
bool getQuickBoot();
|
||||
bool launchQuickStartTitle();
|
|
@ -42,7 +42,13 @@ int32_t main(int32_t argc, char **argv) {
|
|||
|
||||
initExternalStorage();
|
||||
|
||||
if (getQuickBoot()) {
|
||||
// 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 (launchQuickStartTitle()) {
|
||||
deinitLogging();
|
||||
return 0;
|
||||
}
|
||||
|
@ -51,12 +57,6 @@ int32_t main(int32_t argc, char **argv) {
|
|||
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();
|
||||
|
||||
FSAInit();
|
||||
|
|
Loading…
Reference in New Issue