mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
add "onFinish" to screens so that ESC (etc) works the same as the back
touch button.
This commit is contained in:
1 parent
b896a29ec0
commit
4590e44954
12 files changed
+40
-49
No files matched your search
@@ -704,14 +704,6 @@ void GamePauseScreen::update(InputState &input) {
|
||||
UIScreen::update(input);
|
||||
}
|
||||
|
||||
void GamePauseScreen::key(const KeyInput &key) {
|
||||
if ((key.flags & KEY_DOWN) && UI::IsEscapeKeyCode(key.keyCode)) {
|
||||
screenManager()->finishDialog(this, DR_CANCEL);
|
||||
} else {
|
||||
UIScreen::key(key);
|
||||
}
|
||||
}
|
||||
|
||||
void DrawBackground(float alpha);
|
||||
|
||||
void GamePauseScreen::DrawBackground(UIContext &dc) {
|
||||
|
||||
Reference in new issue
Block a user