mirror of
https://github.com/Maschell/WiiUPluginLoader.git
synced 2024-11-25 09:26:57 +01:00
Load values from SD only once at the beginning.
This commit is contained in:
parent
e6f246b947
commit
9ed45f82de
@ -149,7 +149,6 @@ extern "C" int32_t Menu_Main(int32_t argc, char **argv) {
|
|||||||
if(!isInMiiMakerHBL()) {
|
if(!isInMiiMakerHBL()) {
|
||||||
DEBUG_FUNCTION_LINE("Apply patches.\n");
|
DEBUG_FUNCTION_LINE("Apply patches.\n");
|
||||||
ApplyPatchesAndCallHookStartingApp();
|
ApplyPatchesAndCallHookStartingApp();
|
||||||
ConfigUtils::loadConfigFromSD();
|
|
||||||
|
|
||||||
if(MemoryMapping::isMemoryMapped()) {
|
if(MemoryMapping::isMemoryMapped()) {
|
||||||
DEBUG_FUNCTION_LINE("Mapping was already done. Running %016llX\n",gGameTitleID);
|
DEBUG_FUNCTION_LINE("Mapping was already done. Running %016llX\n",gGameTitleID);
|
||||||
@ -172,6 +171,7 @@ extern "C" int32_t Menu_Main(int32_t argc, char **argv) {
|
|||||||
CallHook(WUPS_LOADER_HOOK_INIT_KERNEL);
|
CallHook(WUPS_LOADER_HOOK_INIT_KERNEL);
|
||||||
CallHook(WUPS_LOADER_HOOK_INIT_FS);
|
CallHook(WUPS_LOADER_HOOK_INIT_FS);
|
||||||
CallHook(WUPS_LOADER_HOOK_INIT_OVERLAY);
|
CallHook(WUPS_LOADER_HOOK_INIT_OVERLAY);
|
||||||
|
ConfigUtils::loadConfigFromSD();
|
||||||
CallHook(WUPS_LOADER_HOOK_INIT_PLUGIN);
|
CallHook(WUPS_LOADER_HOOK_INIT_PLUGIN);
|
||||||
DEBUG_FUNCTION_LINE("Loading the system menu.\n");
|
DEBUG_FUNCTION_LINE("Loading the system menu.\n");
|
||||||
DeInit();
|
DeInit();
|
||||||
|
Loading…
Reference in New Issue
Block a user