mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-25 16:23:54 +01:00
-fuck this emu nand shit and use the code before r713 again
with that one million checks
This commit is contained in:
parent
c3b3429645
commit
3e8c4b2b6d
@ -1072,9 +1072,9 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
|||||||
if(!forwarder && has_enabled_providers() && _initNetwork() == 0)
|
if(!forwarder && has_enabled_providers() && _initNetwork() == 0)
|
||||||
add_game_to_card(id.c_str());
|
add_game_to_card(id.c_str());
|
||||||
|
|
||||||
string emuPath = m_cfg.getString("NAND", "path", STDEMU_DIR);;
|
string emuPath;
|
||||||
//m_partRequest = m_cfg.getInt("NAND", "partition", 0);
|
m_partRequest = m_cfg.getInt("NAND", "partition", 0);
|
||||||
//int emuPartition = _FindEmuPart(&emuPath, m_partRequest, false);
|
int emuPartition = _FindEmuPart(&emuPath, m_partRequest, false);
|
||||||
int emulate_mode = min(max(0, m_cfg.getInt("NAND", "emulation", 1)), (int)ARRAY_SIZE(CMenu::_NandEmu) - 1);
|
int emulate_mode = min(max(0, m_cfg.getInt("NAND", "emulation", 1)), (int)ARRAY_SIZE(CMenu::_NandEmu) - 1);
|
||||||
|
|
||||||
int userIOS = m_gcfg2.getInt(id, "ios", 0);
|
int userIOS = m_gcfg2.getInt(id, "ios", 0);
|
||||||
@ -1087,8 +1087,8 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
|||||||
m_cfg.save(true);
|
m_cfg.save(true);
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|
||||||
if(useNK2o && currentPartition != 1)
|
/*if(useNK2o && emuPartition != 1)
|
||||||
useNK2o = false;
|
useNK2o = false;*/
|
||||||
|
|
||||||
if(useNK2o && !emu_disabled)
|
if(useNK2o && !emu_disabled)
|
||||||
{
|
{
|
||||||
@ -1109,8 +1109,8 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
|||||||
{
|
{
|
||||||
if(!emu_disabled)
|
if(!emu_disabled)
|
||||||
{
|
{
|
||||||
DeviceHandler::Instance()->UnMount(currentPartition);
|
DeviceHandler::Instance()->UnMount(emuPartition);
|
||||||
Nand::Instance()->Init(emuPath.c_str(), currentPartition, false);
|
Nand::Instance()->Init(emuPath.c_str(), emuPartition, false);
|
||||||
Nand::Instance()->Enable_Emu();
|
Nand::Instance()->Enable_Emu();
|
||||||
}
|
}
|
||||||
gameIOS = channel.GetRequestedIOS(gameTitle);
|
gameIOS = channel.GetRequestedIOS(gameTitle);
|
||||||
@ -1135,7 +1135,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
|||||||
}
|
}
|
||||||
if(!emu_disabled)
|
if(!emu_disabled)
|
||||||
{
|
{
|
||||||
Nand::Instance()->Init(emuPath.c_str(), currentPartition, false);
|
Nand::Instance()->Init(emuPath.c_str(), emuPartition, false);
|
||||||
if(emulate_mode == 1)
|
if(emulate_mode == 1)
|
||||||
Nand::Instance()->Set_FullMode(true);
|
Nand::Instance()->Set_FullMode(true);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user