mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-fixed booting emu nand games
This commit is contained in:
parent
3f6e4beffe
commit
47892032f5
@ -131,6 +131,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
delete mainMenu;
|
||||
|
||||
ISFS_Deinitialize();
|
||||
Sys_Exit();
|
||||
exit(1);
|
||||
return 0;
|
||||
|
@ -502,7 +502,6 @@ void CMenu::cleanup()
|
||||
|
||||
if(!m_reload)
|
||||
{
|
||||
ISFS_Deinitialize();
|
||||
DeviceHandler::DestroyInstance();
|
||||
m_vid.CheckWaitThread(true);
|
||||
m_vid.cleanup();
|
||||
|
@ -843,7 +843,7 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
||||
m_cat.save(true);
|
||||
m_cfg.save(true);
|
||||
cleanup();
|
||||
|
||||
ISFS_Deinitialize();
|
||||
USBStorage_Deinit();
|
||||
SDHC_Init();
|
||||
|
||||
@ -877,6 +877,7 @@ void CMenu::_launchHomebrew(const char *filepath, vector<string> arguments)
|
||||
cleanup(); // wifi and sd gecko doesnt work anymore after cleanup
|
||||
|
||||
LoadHomebrew(filepath);
|
||||
ISFS_Deinitialize();
|
||||
USBStorage_Deinit();
|
||||
AddBootArgument(filepath);
|
||||
for(u32 i = 0; i < arguments.size(); ++i)
|
||||
@ -1044,7 +1045,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!forwarder)
|
||||
{
|
||||
@ -1121,7 +1122,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ISFS_Deinitialize();
|
||||
if(rtrn != NULL && strlen(rtrn) == 4)
|
||||
{
|
||||
int rtrnID = rtrn[0] << 24 | rtrn[1] << 16 | rtrn[2] << 8 | rtrn[3];
|
||||
@ -1404,7 +1405,7 @@ void CMenu::_launchGame(dir_discHdr *hdr, bool dvd)
|
||||
}
|
||||
}
|
||||
IOSReloadBlock(IOS_GetVersion(), true);
|
||||
|
||||
ISFS_Deinitialize();
|
||||
USBStorage_Deinit();
|
||||
if(currentPartition == 0)
|
||||
SDHC_Init();
|
||||
|
Loading…
Reference in New Issue
Block a user