diff options
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 15b8d637a2..41c36a8bc3 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -253,17 +253,17 @@ reg_t kPlatform(EngineState *s, int argc, reg_t *argv) { uint16 operation = argv[0].toUint16(); switch (operation) { - case kPlatformGetPlatform: - return make_reg(0, (isWindows) ? kSciPlatformWindows : kSciPlatformDOS); - case kPlatformUnk5: - // This case needs to return the opposite of case 6 to get hires graphics - return make_reg(0, !isWindows); - case kPlatformIsHiRes: - return make_reg(0, isWindows); - case kPlatformIsItWindows: - return make_reg(0, isWindows); - default: - warning("Unsupported kPlatform operation %d", operation); + case kPlatformGetPlatform: + return make_reg(0, (isWindows) ? kSciPlatformWindows : kSciPlatformDOS); + case kPlatformUnk5: + // This case needs to return the opposite of case 6 to get hires graphics + return make_reg(0, !isWindows); + case kPlatformIsHiRes: + return make_reg(0, isWindows); + case kPlatformIsItWindows: + return make_reg(0, isWindows); + default: + warning("Unsupported kPlatform operation %d", operation); } return NULL_REG; |