-added new option, "neek_return_default" (no by default), if you

set it to no then wiiflow will use the "path" directory in [NAND] 
section to return to neek, if you set it to yes then wiiflow will 
not set any path to return to neek
This commit is contained in:
fix94.1 2013-01-04 18:16:12 +00:00
parent ed38d727c1
commit 1791a28b61

View File

@ -784,10 +784,15 @@ int CMenu::main(void)
}
else if(Sys_GetExitTo() == EXIT_TO_SMNK2O || Sys_GetExitTo() == EXIT_TO_WFNK2O)
{
string emuPath;
m_current_view = COVERFLOW_CHANNEL; /* So we get the NAND path */
_FindEmuPart(emuPath, false);
Sys_SetNeekPath(NandHandle.Get_NandPath());
const char *ReturnPath = NULL;
if(!m_cfg.getBool(CHANNEL_DOMAIN, "neek_return_default", false))
{
string emuPath;
m_current_view = COVERFLOW_CHANNEL; /* So we get the path */
_FindEmuPart(emuPath, false);
ReturnPath = NandHandle.Get_NandPath();
}
Sys_SetNeekPath(ReturnPath);
}
//gprintf("Saving configuration files\n");
m_cfg.save();