aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-05-26 16:42:38 +0300
committerFilippos Karapetis2012-05-26 16:42:38 +0300
commitf15582b190baeae3ab1ddf2b6fc9dc305810f5f0 (patch)
treef04047fba4c60c9551ba52ebaebd6a2749680ec5
parent5af1ccbac66925f4521419a36a970bff4259e984 (diff)
downloadscummvm-rg350-f15582b190baeae3ab1ddf2b6fc9dc305810f5f0.tar.gz
scummvm-rg350-f15582b190baeae3ab1ddf2b6fc9dc305810f5f0.tar.bz2
scummvm-rg350-f15582b190baeae3ab1ddf2b6fc9dc305810f5f0.zip
SCI: Map another missing kFileIO call
This is used to change directories in the save/load dialog (unused by us)
-rw-r--r--engines/sci/engine/kernel_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index d8414b3b4c..4ddf0534ea 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -239,6 +239,7 @@ static const SciKernelMapSubEntry kFileIO_subops[] = {
{ SIG_SCI32, 15, MAP_CALL(FileIOReadWord), "i", NULL },
{ SIG_SCI32, 16, MAP_CALL(FileIOWriteWord), "ii", NULL },
{ SIG_SCI32, 17, MAP_CALL(FileIOCreateSaveSlot), "ir", NULL },
+ { SIG_SCI32, 18, MAP_EMPTY(FileIOChangeDirectory), "r", NULL }, // for SQ6, when changing the savegame directory in the save/load dialog
{ SIG_SCI32, 19, MAP_CALL(Stub), "r", NULL }, // for Torin / Torin demo
#endif
SCI_SUBOPENTRY_TERMINATOR