aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-15 15:30:40 +0000
committerFilippos Karapetis2010-01-15 15:30:40 +0000
commitc4d02f57846e4e46c6d9edb09a8900f90605b46a (patch)
tree2d670c234f76380874bde63e47688872a51c7322 /engines/sci
parent03381988766b5304b3ba955fc8d4ae24f359dd01 (diff)
downloadscummvm-rg350-c4d02f57846e4e46c6d9edb09a8900f90605b46a.tar.gz
scummvm-rg350-c4d02f57846e4e46c6d9edb09a8900f90605b46a.tar.bz2
scummvm-rg350-c4d02f57846e4e46c6d9edb09a8900f90605b46a.zip
Updated kernel function check for kGetEvent in Mac versions and adjusted the comments for kGetSaveDir
svn-id: r47307
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index f043d66d72..2404210f95 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -214,9 +214,7 @@ SciKernelFunction kfunct_mappers[] = {
/*19*/ DEFUN("EditControl", kEditControl, "ZoZo"),
/*1a*/ DEFUN("TextSize", kTextSize, "rZrii*r*"),
/*1b*/ DEFUN("Display", kDisplay, ".*"),
- // FIXME: signature check removed (set to .*) as kGetEvent is different in Mac versions
- /*1c*/ DEFUN("GetEvent", kGetEvent, ".*"),
- ///*1c*/ DEFUN("GetEvent", kGetEvent, "io"),
+ /*1c*/ DEFUN("GetEvent", kGetEvent, "ioi*"), // Mac versions pass an extra 3rd parameter (ignored - always 0?)
/*1d*/ DEFUN("GlobalToLocal", kGlobalToLocal, "oo*"),
/*1e*/ DEFUN("LocalToGlobal", kLocalToGlobal, "oo*"),
/*1f*/ DEFUN("MapKeyToDir", kMapKeyToDir, "o"),
@@ -291,9 +289,7 @@ SciKernelFunction kfunct_mappers[] = {
/*65*/ DEFUN("CoordPri", kCoordPri, "ii*"),
/*66*/ DEFUN("StrAt", kStrAt, "rii*"),
/*67*/ DEFUN("DeviceInfo", kDeviceInfo, "i.*"),
- // FIXME: signature check removed (set to .*), as this function accepts a parameter in SCI32 games
- /*68*/ DEFUN("GetSaveDir", kGetSaveDir, ".*"),
- ///*68*/ DEFUN("GetSaveDir", kGetSaveDir, ""),
+ /*68*/ DEFUN("GetSaveDir", kGetSaveDir, ".*"), // accepts a parameter in SCI2+ games
/*69*/ DEFUN("CheckSaveGame", kCheckSaveGame, ".*"),
/*6a*/ DEFUN("ShakeScreen", kShakeScreen, "ii*"),
/*6b*/ DEFUN("FlushResources", kFlushResources, "i"),