don't pause on menu open when link active #83

In the MenuPopped method (which received MENU_OPEN, MENU_CLOSE and
MENU_HIGHLIGHT) check that gba_joybus_active is not true before pausing
the emulator, so that if Link mode is on it will not pause.
This commit is contained in:
Rafael Kitover 2017-02-19 10:39:46 -08:00
parent b0b0ad08ca
commit 13f5afa9c5
1 changed files with 2 additions and 1 deletions

View File

@ -864,7 +864,8 @@ void MainFrame::MenuPopped(wxMenuEvent& evt)
if (popped)
panel->ShowPointer();
if (menus_opened)
// don't pause on menu when link is active #83
if (menus_opened && !gba_joybus_active)
panel->Pause();
else if (!IsPaused())
panel->Resume();