From 6d80081c04e8d37c37d77c981c96f1c2ec618485 Mon Sep 17 00:00:00 2001 From: "overjoy.psm" Date: Mon, 14 May 2012 02:21:03 +0000 Subject: [PATCH] *ISFS_Initialize() should still be called after we reload to cIOS (2nd time fix) --- source/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 6227c5f1..4cd64be0 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -36,8 +36,7 @@ extern "C" int main(int argc, char **argv) { __exception_setreload(5); - MEM2_init(52); - ISFS_Initialize(); + MEM2_init(52); geckoinit = InitGecko(); gprintf(" \nWelcome to %s (%s-r%s)!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV); @@ -72,10 +71,12 @@ int main(int argc, char **argv) // Load Custom IOS bool iosOK = loadIOS(mainIOS, false); + + ISFS_Initialize(); u8 mainIOSBase = 0; iosOK = iosOK && cIOSInfo::D2X(mainIOS, &mainIOSBase); - gprintf("Loaded cIOS: %u has base %u\n", mainIOS, mainIOSBase); + gprintf("Loaded cIOS: %u has base %u\n", mainIOS, mainIOSBase); Open_Inputs(); //init wiimote early