-fixed wiiflow neek2o mode

-fixed booting nand games using neek2o when emu nand path is
the device root
This commit is contained in:
fix94.1 2012-08-24 20:46:13 +00:00
parent 526d94a360
commit 7ef23f96e1
2 changed files with 2 additions and 2 deletions

View File

@ -73,6 +73,7 @@ int main(int argc, char **argv)
CurrentIOS.Base = 254; CurrentIOS.Base = 254;
CurrentIOS.Revision = 999; CurrentIOS.Revision = 999;
DCFlushRange(&CurrentIOS, sizeof(IOS_Info)); DCFlushRange(&CurrentIOS, sizeof(IOS_Info));
DeviceHandler::Instance()->SetModes();
} }
else if(*HW_AHBPROT != 0xFFFFFFFF) else if(*HW_AHBPROT != 0xFFFFFFFF)
{ {

View File

@ -1104,8 +1104,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
Sys_LoadMenu(); Sys_LoadMenu();
} }
DeviceHandler::Instance()->UnMountAll(); DeviceHandler::Instance()->UnMountAll();
Launch_nk(gameTitle, emuPath.c_str()); Launch_nk(gameTitle, emuPath.size() > 1 ? emuPath.c_str() : NULL);
while(1);
} }
DeviceHandler::Instance()->UnMountAll(); DeviceHandler::Instance()->UnMountAll();