From 7ef23f96e18f7ef19c4e7c4915ca47b54f1266d7 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Fri, 24 Aug 2012 20:46:13 +0000 Subject: [PATCH] -fixed wiiflow neek2o mode -fixed booting nand games using neek2o when emu nand path is the device root --- source/main.cpp | 1 + source/menu/menu_game.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 1673911c..a55fe764 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -73,6 +73,7 @@ int main(int argc, char **argv) CurrentIOS.Base = 254; CurrentIOS.Revision = 999; DCFlushRange(&CurrentIOS, sizeof(IOS_Info)); + DeviceHandler::Instance()->SetModes(); } else if(*HW_AHBPROT != 0xFFFFFFFF) { diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index 74499f1c..c7828eb7 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -1104,8 +1104,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr) Sys_LoadMenu(); } DeviceHandler::Instance()->UnMountAll(); - Launch_nk(gameTitle, emuPath.c_str()); - while(1); + Launch_nk(gameTitle, emuPath.size() > 1 ? emuPath.c_str() : NULL); } DeviceHandler::Instance()->UnMountAll();