aboutsummaryrefslogtreecommitdiff
path: root/scumm/input.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-20 18:21:30 +0000
committerMax Horn2005-04-20 18:21:30 +0000
commitc46ea8bc407e60224500e6d6efa08d2ddd6f318e (patch)
tree4800c3beb69f0bfe6d1c6f456e8f5ea58780b6f6 /scumm/input.cpp
parenta18d4d5c2f6dbc985c5b3628228bb6078cf781bb (diff)
downloadscummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.gz
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.bz2
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.zip
Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
Diffstat (limited to 'scumm/input.cpp')
-rw-r--r--scumm/input.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp
index 984efce08f..666bfe9084 100644
--- a/scumm/input.cpp
+++ b/scumm/input.cpp
@@ -216,7 +216,7 @@ void ScummEngine::processKbd(bool smushMode) {
_lastKeyHit = _keyPressed;
_keyPressed = 0;
- if (((_version <= 2) || (_features & GF_FMTOWNS && _version == 3)) && 315 <= _lastKeyHit && _lastKeyHit < 315+12) {
+ if (((_version <= 2) || (_platform == Common::kPlatformFMTowns && _version == 3)) && 315 <= _lastKeyHit && _lastKeyHit < 315+12) {
// Convert F-Keys for V1/V2 games (they start at 1 instead of at 315)
_lastKeyHit -= 314;
}
@@ -374,7 +374,7 @@ void ScummEngine::processKbd(bool smushMode) {
}
if (VAR_RESTART_KEY != 0xFF && _lastKeyHit == VAR(VAR_RESTART_KEY) ||
- (((_version <= 2) || (_features & GF_FMTOWNS && _version == 3)) && _lastKeyHit == 8)) {
+ (((_version <= 2) || (_platform == Common::kPlatformFMTowns && _version == 3)) && _lastKeyHit == 8)) {
confirmRestartDialog();
return;
}
@@ -392,7 +392,7 @@ void ScummEngine::processKbd(bool smushMode) {
return;
}
- if ((_version <= 2) || (_features & GF_FMTOWNS && _version == 3))
+ if ((_version <= 2) || (_platform == Common::kPlatformFMTowns && _version == 3))
saveloadkey = 5; // F5
else if ((_version <= 3) || (_gameId == GID_SAMNMAX) || (_gameId == GID_CMI) || (_heversion >= 72))
saveloadkey = 319; // F5