aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-13 12:22:51 +0300
committerFilippos Karapetis2012-06-13 12:26:58 +0300
commit694f0f534a548061c3fecec3c8b0be0e0e5310dd (patch)
tree486ee6d992793169c2a1164ffcc9733f35c4c2f5 /engines/sci
parent098f162ecc4951873909e9815506d4053178b6f9 (diff)
downloadscummvm-rg350-694f0f534a548061c3fecec3c8b0be0e0e5310dd.tar.gz
scummvm-rg350-694f0f534a548061c3fecec3c8b0be0e0e5310dd.tar.bz2
scummvm-rg350-694f0f534a548061c3fecec3c8b0be0e0e5310dd.zip
SCI: Only include kSave_subops if ENABLE_SCI32 is defined
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel_tables.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index d093310139..6965a5da45 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -245,6 +245,8 @@ static const SciKernelMapSubEntry kFileIO_subops[] = {
SCI_SUBOPENTRY_TERMINATOR
};
+#ifdef ENABLE_SCI32
+
static const SciKernelMapSubEntry kSave_subops[] = {
{ SIG_SCI32, 0, MAP_CALL(SaveGame), "[r0]i[r0](r)", NULL },
{ SIG_SCI32, 1, MAP_CALL(RestoreGame), "[r0]i[r0]", NULL },
@@ -255,9 +257,9 @@ static const SciKernelMapSubEntry kSave_subops[] = {
{ SIG_SCI32, 6, MAP_CALL(MakeSaveCatName), "rr", NULL },
{ SIG_SCI32, 7, MAP_CALL(MakeSaveFileName), "rri", NULL },
{ SIG_SCI32, 8, MAP_CALL(AutoSave), "[o0]", NULL },
+ SCI_SUBOPENTRY_TERMINATOR
};
-#ifdef ENABLE_SCI32
// version, subId, function-mapping, signature, workarounds
static const SciKernelMapSubEntry kList_subops[] = {
{ SIG_SCI21, 0, MAP_CALL(NewList), "", NULL },