aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-25 19:47:12 +0000
committerMartin Kiewitz2010-07-25 19:47:12 +0000
commitc721b4d612a52600f6aae539e91f1d6bd03fcb13 (patch)
tree0278591bbad4a92815372d3b62bdbd895de6861d /engines/sci/engine
parent33c34456fb9305c13dd91a3c3b29b072da95cfd8 (diff)
downloadscummvm-rg350-c721b4d612a52600f6aae539e91f1d6bd03fcb13.tar.gz
scummvm-rg350-c721b4d612a52600f6aae539e91f1d6bd03fcb13.tar.bz2
scummvm-rg350-c721b4d612a52600f6aae539e91f1d6bd03fcb13.zip
SCI: some changes for kq7
- resetting negative plane left/top - kSave(0) returns SIGNAL svn-id: r51281
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index ec166e4b0a..24c96be111 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -966,6 +966,8 @@ reg_t kCD(EngineState *s, int argc, reg_t *argv) {
reg_t kSave(EngineState *s, int argc, reg_t *argv) {
switch (argv[0].toUint16()) {
+ case 0: // Called by kq7 when starting chapters
+ return SIGNAL_REG;
case 2: // GetSaveDir
// Yay! Reusing the old kernel function!
return kGetSaveDir(s, argc - 1, argv + 1);