-if wiimote_gestures is enabled in wiiflow.ini, then the source

menu is opened with pressing b on home icon again
-updated english help file as well for it
This commit is contained in:
fix94.1 2012-06-21 13:23:12 +00:00
parent 087d2dd4b3
commit adbca1113b
2 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Controls:
-- A on USB, DML, Channels, Emu, or Homebrew Icon = Switch to that view
-- B on USB, DML, Channels, Emu, or Homebrew Icon = Enable/Disable Emu-NAND and switch to Channels view
-- A on Home Icon = Exit to Wii menu
-- Hold B for 3 seconds = Display Source menu
-- Hold B for 3 seconds / B on Home Icon (wiimote_gestures enabled) = Display Source menu
-- A on Disc Icon (Game Disc in Drive) = Launch game disc
-- A on Question Mark Icon = Display credits and this help file, and update WiiFlow

View File

@ -491,6 +491,15 @@ int CMenu::main(void)
UpdateCache(m_current_view);
LoadView();
}
else if(enable_wmote_roll && m_btnMgr.selected(m_mainBtnQuit))
{
_hideMain();
if(!_Source()) //Different source selected
LoadView();
else
_showMain();
continue;
}
}
if(!BTN_B_HELD)
@ -659,7 +668,7 @@ int CMenu::main(void)
_initCF();
}
}
else
else if(!enable_wmote_roll)
{
if(!SourceMenuTimeout)
SourceMenuTimeout = time(0);