Skip to content

Commit

Permalink
UI: Use UISTATE_PAUSEMENU while game still running.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed May 5, 2018
1 parent 738c1ec commit 27652b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UI/EmuScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,15 +399,15 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
// In case we need to position touch controls differently.
RecreateViews();
} else if (!strcmp(message, "control mapping") && screenManager()->topScreen() == this) {
UpdateUIState(UISTATE_MENU);
UpdateUIState(UISTATE_PAUSEMENU);
releaseButtons();
screenManager()->push(new ControlMappingScreen());
} else if (!strcmp(message, "display layout editor") && screenManager()->topScreen() == this) {
UpdateUIState(UISTATE_MENU);
UpdateUIState(UISTATE_PAUSEMENU);
releaseButtons();
screenManager()->push(new DisplayLayoutScreen());
} else if (!strcmp(message, "settings") && screenManager()->topScreen() == this) {
UpdateUIState(UISTATE_MENU);
UpdateUIState(UISTATE_PAUSEMENU);
releaseButtons();
screenManager()->push(new GameSettingsScreen(gamePath_));
} else if (!strcmp(message, "gpu dump next frame")) {
Expand Down

0 comments on commit 27652b6

Please sign in to comment.