mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 05:34:15 +01:00
- changed the default emunand name from default to wf_nand. if you are using the old default name that is still fine.
This commit is contained in:
parent
9d41f679c3
commit
1fa1054f04
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
@ -445,7 +445,7 @@ void CMenu::_listEmuNands(const char *path, vector<string> &nands)
|
||||
if(dir->d_type == DT_DIR)
|
||||
{
|
||||
nands.push_back(dir->d_name);
|
||||
if(strlen(dir->d_name) == 7 && strcasecmp(dir->d_name, "default") == 0)
|
||||
if(strlen(dir->d_name) == 7 && strcasecmp(dir->d_name, "wf_nand") == 0)
|
||||
add_def = false;
|
||||
}
|
||||
}
|
||||
@ -454,16 +454,16 @@ void CMenu::_listEmuNands(const char *path, vector<string> &nands)
|
||||
else
|
||||
return;
|
||||
if(add_def)
|
||||
nands.push_back("default");
|
||||
nands.push_back("wf_nand");
|
||||
sort(nands.begin(), nands.end());
|
||||
}
|
||||
|
||||
void CMenu::_getEmuNands(void)
|
||||
{
|
||||
u8 i;
|
||||
string emuNand = m_cfg.getString(CHANNEL_DOMAIN, "current_emunand", "default");
|
||||
string emuNand = m_cfg.getString(CHANNEL_DOMAIN, "current_emunand", "wf_nand");
|
||||
int emuPart = m_cfg.getInt(CHANNEL_DOMAIN, "partition", -1);
|
||||
string savesNand = m_cfg.getString(WII_DOMAIN, "current_save_emunand", "default");
|
||||
string savesNand = m_cfg.getString(WII_DOMAIN, "current_save_emunand", "wf_nand");
|
||||
int savesPart = m_cfg.getInt(WII_DOMAIN, "savepartition", -1);
|
||||
|
||||
/* emu Nands */
|
||||
@ -485,7 +485,7 @@ void CMenu::_getEmuNands(void)
|
||||
{
|
||||
for(i = 0; i < emuNands.size(); ++i)
|
||||
{
|
||||
if(emuNands[i] == "default")
|
||||
if(emuNands[i] == "wf_nand")
|
||||
{
|
||||
curEmuNand = i;
|
||||
break;
|
||||
@ -512,7 +512,7 @@ void CMenu::_getEmuNands(void)
|
||||
{
|
||||
for(i = 0; i < savesNands.size(); ++i)
|
||||
{
|
||||
if(savesNands[i] == "default")
|
||||
if(savesNands[i] == "wf_nand")
|
||||
{
|
||||
curSavesNand = i;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user