mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
SCI: Fix regression of previous keycode commit
7aeadba863ed1893fa6095008d35b32ce5117749 Thanks LordHoto for spotting it
This commit is contained in:
parent
7aeadba863
commit
bc0dd6f821
@ -268,7 +268,7 @@ SciEvent EventManager::getScummVMEvent() {
|
||||
// SCI_K_SHIFT_F1 == 84 << 8
|
||||
input.character = SCI_KEY_F1 + ((scummVMKeycode - Common::KEYCODE_F1)<<8);
|
||||
if (ourModifiers & Common::KBD_SHIFT)
|
||||
input.character = scummVMKeycode + 0x1900;
|
||||
input.character = input.character + 0x1900;
|
||||
} else {
|
||||
// Special keys that need conversion
|
||||
for (int i = 0; i < ARRAYSIZE(keyMappings); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user