mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-25 00:03:33 +01:00
-fixed unneeded nand folder creation
This commit is contained in:
parent
8fa265a32b
commit
fffc6fae17
@ -2204,11 +2204,14 @@ bool CMenu::_loadChannelList(void)
|
|||||||
emuPartition = _FindEmuPart(emuPath, false);
|
emuPartition = _FindEmuPart(emuPath, false);
|
||||||
if(emuPartition < 0)
|
if(emuPartition < 0)
|
||||||
emuPartition = _FindEmuPart(emuPath, true);
|
emuPartition = _FindEmuPart(emuPath, true);
|
||||||
|
else
|
||||||
|
{ /* only create folder struct if the partition really has a emu nand on it already */
|
||||||
|
NandHandle.PreNandCfg(m_cfg.getBool(CHANNEL_DOMAIN, "real_nand_miis", false),
|
||||||
|
m_cfg.getBool(CHANNEL_DOMAIN, "real_nand_config", false));
|
||||||
|
}
|
||||||
if(emuPartition < 0)
|
if(emuPartition < 0)
|
||||||
return false;
|
return false;
|
||||||
currentPartition = emuPartition;
|
currentPartition = emuPartition;
|
||||||
NandHandle.PreNandCfg(m_cfg.getBool(CHANNEL_DOMAIN, "real_nand_miis", false),
|
|
||||||
m_cfg.getBool(CHANNEL_DOMAIN, "real_nand_config", false));
|
|
||||||
cacheDir = fmt("%s/%s_channels.db", m_listCacheDir.c_str(), DeviceName[currentPartition]);
|
cacheDir = fmt("%s/%s_channels.db", m_listCacheDir.c_str(), DeviceName[currentPartition]);
|
||||||
}
|
}
|
||||||
bool updateCache = m_cfg.getBool(CHANNEL_DOMAIN, "update_cache");
|
bool updateCache = m_cfg.getBool(CHANNEL_DOMAIN, "update_cache");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user