mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Do the same with KeyInputFlags. Fix minor UI misalignments
This commit is contained in:
1 parent
481d0fd18c
commit
18a67b82d2
37 files changed
+183
-182
No files matched your search
+1
-1
@@ -342,7 +342,7 @@ GamePauseScreen::~GamePauseScreen() {
|
||||
}
|
||||
|
||||
bool GamePauseScreen::key(const KeyInput &key) {
|
||||
if (!UIScreen::key(key) && (key.flags & KEY_DOWN)) {
|
||||
if (!UIScreen::key(key) && (key.flags & KeyInputFlags::DOWN)) {
|
||||
// Special case to be able to unpause with a bound pause key.
|
||||
// Normally we can't bind keys used in the UI.
|
||||
InputMapping mapping(key.deviceId, key.keyCode);
|
||||
|
||||
Reference in new issue
Block a user