*ISFS_Initialize() should still be called after we reload to cIOS (2nd time fix)

This commit is contained in:
overjoy.psm 2012-05-14 02:21:03 +00:00
parent 4c300161e1
commit 6d80081c04

View File

@ -37,7 +37,6 @@ int main(int argc, char **argv)
{ {
__exception_setreload(5); __exception_setreload(5);
MEM2_init(52); MEM2_init(52);
ISFS_Initialize();
geckoinit = InitGecko(); geckoinit = InitGecko();
gprintf(" \nWelcome to %s (%s-r%s)!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV); gprintf(" \nWelcome to %s (%s-r%s)!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV);
@ -73,6 +72,8 @@ int main(int argc, char **argv)
// Load Custom IOS // Load Custom IOS
bool iosOK = loadIOS(mainIOS, false); bool iosOK = loadIOS(mainIOS, false);
ISFS_Initialize();
u8 mainIOSBase = 0; u8 mainIOSBase = 0;
iosOK = iosOK && cIOSInfo::D2X(mainIOS, &mainIOSBase); 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);