aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authormd52011-03-04 00:18:36 +0200
committermd52011-03-04 00:25:22 +0200
commit9cc12cfc97028e71ebaede1db67a076e408edaeb (patch)
treea934a900db7e17d7d5a6854bfbdadaa0f6a25631 /engines
parente286b1b5f147a2494b6576febef37d246cdc687d (diff)
downloadscummvm-rg350-9cc12cfc97028e71ebaede1db67a076e408edaeb.tar.gz
scummvm-rg350-9cc12cfc97028e71ebaede1db67a076e408edaeb.tar.bz2
scummvm-rg350-9cc12cfc97028e71ebaede1db67a076e408edaeb.zip
SCI21: kSave(1) is kRestoreGame
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kfile.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index f2c93fd500..45182761aa 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -1156,10 +1156,11 @@ 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
+ case 0:
return kSaveGame(s, argc - 1,argv + 1);
- case 2: // GetSaveDir
- // Yay! Reusing the old kernel function!
+ case 1:
+ return kRestoreGame(s, argc - 1,argv + 1);
+ case 2:
return kGetSaveDir(s, argc - 1, argv + 1);
case 5:
// TODO