aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Skovlund2011-03-09 20:18:34 +0100
committerLars Skovlund2011-03-09 20:18:34 +0100
commita55a211ddc270e8f9f292874b1a8e5881b572294 (patch)
treecc10425595ae21117df3ea5b8727d20aec616ead
parenteece58df7f20b6411f5e534cbdf7b80c19fdee2a (diff)
downloadscummvm-rg350-a55a211ddc270e8f9f292874b1a8e5881b572294.tar.gz
scummvm-rg350-a55a211ddc270e8f9f292874b1a8e5881b572294.tar.bz2
scummvm-rg350-a55a211ddc270e8f9f292874b1a8e5881b572294.zip
SCI32: Reroute kSave(5) to kGetSaveFiles(). Any differences to pre-SCI32
kGetSaveFiles() should be worked out there.
-rw-r--r--engines/sci/engine/kfile.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index 45182761aa..82522a6e77 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -1163,9 +1163,7 @@ reg_t kSave(EngineState *s, int argc, reg_t *argv) {
case 2:
return kGetSaveDir(s, argc - 1, argv + 1);
case 5:
- // TODO
- // 3 parameters: game ID, a string and an array
- return s->r_acc;
+ return kGetSaveFiles(s, argc - 1, argv + 1);
case 8:
// TODO
// This is a timer callback, with 1 parameter: the timer object