diff options
author | Matthew Hoops | 2010-02-01 04:14:16 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-02-01 04:14:16 +0000 |
commit | c72c2ff71109544ca48d2cfabf1ff735363795c3 (patch) | |
tree | 1b1825760fe4818a133bd7615063a29782235365 /engines/sci/engine/kmisc.cpp | |
parent | af52e2caf0cfda303233440d2d1b6867006a1af1 (diff) | |
download | scummvm-rg350-c72c2ff71109544ca48d2cfabf1ff735363795c3.tar.gz scummvm-rg350-c72c2ff71109544ca48d2cfabf1ff735363795c3.tar.bz2 scummvm-rg350-c72c2ff71109544ca48d2cfabf1ff735363795c3.zip |
kPlatform(0) should return the SCI platform number. Fixes playing AVI's in KQ7 Windows. Also, adding/updating detection entries for KQ7 Windows.
svn-id: r47791
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 50be5509d7..bd1cf587ea 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -320,8 +320,6 @@ reg_t kPlatform(EngineState *s, int argc, reg_t *argv) { uint16 operation = (argc == 0) ? 0 : argv[0].toUint16(); switch (operation) { - case kPlatformUnk0: - return make_reg(0, !isWindows); case kPlatformCDSpeed: // TODO: Returns CD Speed? warning("STUB: kPlatform(CDSpeed)"); @@ -333,6 +331,7 @@ reg_t kPlatform(EngineState *s, int argc, reg_t *argv) { // TODO: Some sort of CD check? warning("STUB: kPlatform(CDCheck)"); break; + case kPlatformUnk0: case kPlatformGetPlatform: return make_reg(0, (isWindows) ? kSciPlatformWindows : kSciPlatformDOS); case kPlatformUnk5: |