mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
UI: Use a UIState for exceptions.
This makes it so we can enable Stop/Reset/etc. during them in the menus.
This commit is contained in:
1 parent
32c7ff8436
commit
75eeb55617
5 files changed
+11
-7
No files matched your search
+2
-2
@@ -952,8 +952,8 @@ void EmuScreen::update() {
|
||||
PSP_CoreParameter().pixelHeight = pixel_yres * bounds.h / dp_yres;
|
||||
#endif
|
||||
|
||||
if (!invalid_ && coreState != CORE_RUNTIME_ERROR) {
|
||||
UpdateUIState(UISTATE_INGAME);
|
||||
if (!invalid_) {
|
||||
UpdateUIState(coreState != CORE_RUNTIME_ERROR ? UISTATE_INGAME : UISTATE_EXCEPTION);
|
||||
}
|
||||
|
||||
if (errorMessage_.size()) {
|
||||
|
||||
Reference in new issue
Block a user