mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes. Only downside is you can't pause the game now and then hit stop in the debugger.
This commit is contained in:
1 parent
301884428f
commit
8902e85f0a
7 files changed
+34
-31
No files matched your search
+4
-4
@@ -559,18 +559,18 @@ void MainScreen::sendMessage(const char *message, const char *value) {
|
||||
screenManager()->RecreateAllViews();
|
||||
}
|
||||
if (!strcmp(message, "control mapping")) {
|
||||
globalUIState = UISTATE_MENU;
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
screenManager()->push(new ControlMappingScreen());
|
||||
}
|
||||
if (!strcmp(message, "settings")) {
|
||||
globalUIState = UISTATE_MENU;
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
screenManager()->push(new GameSettingsScreen(""));
|
||||
}
|
||||
}
|
||||
|
||||
void MainScreen::update(InputState &input) {
|
||||
UIScreen::update(input);
|
||||
globalUIState = UISTATE_MENU;
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
}
|
||||
|
||||
UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
|
||||
@@ -665,7 +665,7 @@ UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
void GamePauseScreen::update(InputState &input) {
|
||||
globalUIState = UISTATE_PAUSEMENU;
|
||||
UpdateUIState(UISTATE_PAUSEMENU);
|
||||
UIScreen::update(input);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user