mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-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:
parent
ed38d727c1
commit
1791a28b61
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user