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:
parent
b0b0ad08ca
commit
13f5afa9c5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue