KYRA: (EOB/PC98) - fix keymap

(unlike LOL/PC98 we have the same key codes as in the DOS version)
This commit is contained in:
athrxx 2019-11-27 19:40:07 +01:00
parent 3646aff6d4
commit d4b9bda332

View File

@ -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() {