-added wiiu wii mode boot compatility via smash stack

This commit is contained in:
fix94.1 2012-11-30 18:14:27 +00:00
parent ba8415f949
commit 098b5c342b

View File

@ -65,7 +65,8 @@ int main(int argc, char **argv)
/* Handle (c)IOS Loading */ /* Handle (c)IOS Loading */
if(neek2o() || Sys_DolphinMode()) if(neek2o() || Sys_DolphinMode())
iosOK = loadIOS(IOS_GetVersion(), false); iosOK = loadIOS(IOS_GetVersion(), false);
else if(AHBRPOT_Patched() && IOS_GetVersion() == 58) else if((AHBRPOT_Patched() && IOS_GetVersion() == 58) || /* Normal HBC or FW Boot */
(!AHBRPOT_Patched() && IOS_GetType(mainIOS) == IOS_TYPE_STUB)) /* Maybe old HBC or WiiU */
iosOK = loadIOS(58, false); iosOK = loadIOS(58, false);
else /* cIOS wanted */ else /* cIOS wanted */
iosOK = loadIOS(mainIOS, false) && CustomIOS(CurrentIOS.Type); iosOK = loadIOS(mainIOS, false) && CustomIOS(CurrentIOS.Type);