diff options
author | athrxx | 2019-11-27 19:40:07 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:45 +0100 |
commit | d4b9bda332b857f4fb7702fed20452a572d478ac (patch) | |
tree | 7fdd45b6b23f87226cf80f4e64286e4818431c97 | |
parent | 3646aff6d454265fe01912dc6f6732164289d25b (diff) | |
download | scummvm-rg350-d4b9bda332b857f4fb7702fed20452a572d478ac.tar.gz scummvm-rg350-d4b9bda332b857f4fb7702fed20452a572d478ac.tar.bz2 scummvm-rg350-d4b9bda332b857f4fb7702fed20452a572d478ac.zip |
KYRA: (EOB/PC98) - fix keymap
(unlike LOL/PC98 we have the same key codes as in the DOS version)
-rw-r--r-- | engines/kyra/engine/kyra_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/engine/kyra_v1.cpp b/engines/kyra/engine/kyra_v1.cpp index 4f8296c610..e42ede460d 100644 --- a/engines/kyra/engine/kyra_v1.cpp +++ b/engines/kyra/engine/kyra_v1.cpp @@ -434,7 +434,7 @@ void KyraEngine_v1::setupKeyMap() { _keyMap.clear(); for (int i = 0; i < ARRAYSIZE(keys); i++) - _keyMap[keys[i].kcScummVM] = (_flags.platform == Common::kPlatformPC98) ? keys[i].kcPC98 : ((_flags.platform == Common::kPlatformFMTowns) ? keys[i].kcFMTowns : keys[i].kcDOS); + _keyMap[keys[i].kcScummVM] = (_flags.gameID != GI_EOB1 && _flags.platform == Common::kPlatformPC98) ? keys[i].kcPC98 : ((_flags.platform == Common::kPlatformFMTowns) ? keys[i].kcFMTowns : keys[i].kcDOS); } void KyraEngine_v1::updateInput() { |