aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-12 19:41:26 +0000
committerMartin Kiewitz2010-07-12 19:41:26 +0000
commit0c42441426a6ade7cf659847dbffb24a63780de8 (patch)
treedf417f7021d263042eeff77ccd6927ff0f100dd5 /engines
parent535dbb7f59afe1c0d4576ada41c73cf07632b133 (diff)
downloadscummvm-rg350-0c42441426a6ade7cf659847dbffb24a63780de8.tar.gz
scummvm-rg350-0c42441426a6ade7cf659847dbffb24a63780de8.tar.bz2
scummvm-rg350-0c42441426a6ade7cf659847dbffb24a63780de8.zip
SCI: added TODO for saved games
svn-id: r50828
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kfile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index 69b80ce7ce..1b9b55c5c8 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -438,6 +438,9 @@ reg_t kCheckFreeSpace(EngineState *s, int argc, reg_t *argv) {
return make_reg(0, 1);
}
+// TODO: we need NOT to assign our own ids to saved-games, but use the filename-id and pass that to the scripts
+// LSL6 is using the last used saved-game-id for quicksaving and this won't match correctly otherwise
+
reg_t kCheckSaveGame(EngineState *s, int argc, reg_t *argv) {
Common::String game_id = s->_segMan->getString(argv[0]);
uint16 savedir_nr = argv[1].toUint16();