aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-15 12:14:34 +0000
committerFilippos Karapetis2010-09-15 12:14:34 +0000
commitc74c206f053f4ad0d076bad9e94c559af262dda2 (patch)
tree2d488540cfa1b877039af9ce83af3750e6ee80c2 /engines/sci
parentc81f009e8feada22ffe62006fa0e1d6d21f510ee (diff)
downloadscummvm-rg350-c74c206f053f4ad0d076bad9e94c559af262dda2.tar.gz
scummvm-rg350-c74c206f053f4ad0d076bad9e94c559af262dda2.tar.bz2
scummvm-rg350-c74c206f053f4ad0d076bad9e94c559af262dda2.zip
SCI2: adding a stub for the kPurge memory function
kPurge is specific to the SSCI memory manager. We have our own memory manager and garbage collector, thus we ignore these calls svn-id: r52732
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel_tables.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index 0ee71b37e9..ce28611e50 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -491,6 +491,12 @@ static SciKernelMapEntry s_kernelMap[] = {
{ MAP_CALL(UpdatePlane), SIG_EVERYWHERE, "o", NULL, NULL },
{ MAP_CALL(UpdateScreenItem), SIG_EVERYWHERE, "o", NULL, NULL },
+ // SCI2 empty functions
+
+ // Purge is used by the memory manager in SSCI to ensure that X number of bytes (the so called "unmovable
+ // memory") are available. We have our own memory manager and garbage collector, thus we ignore this call.
+ { MAP_EMPTY(Purge), SIG_EVERYWHERE, "i", NULL, NULL },
+
// SCI2.1 Kernel Functions
{ MAP_CALL(CD), SIG_EVERYWHERE, "(.*)", NULL, NULL },
{ MAP_CALL(IsOnMe), SIG_EVERYWHERE, "iioi", NULL, NULL },
@@ -507,6 +513,9 @@ static SciKernelMapEntry s_kernelMap[] = {
{ MAP_CALL(PrintDebug), SIG_EVERYWHERE, "ri", NULL, NULL },
// SCI2.1 empty functions
+
+ // SetWindowsOption is used to set Windows specific options, like for example the title bar visibility of
+ // the game window in Phantasmagoria 2. We ignore these settings completely.
{ MAP_EMPTY(SetWindowsOption), SIG_EVERYWHERE, "ii", NULL, NULL },
// Unimplemented SCI2.1 unused functions, always mapped to kDummy