diff options
author | Filippos Karapetis | 2010-01-15 15:30:40 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-15 15:30:40 +0000 |
commit | c4d02f57846e4e46c6d9edb09a8900f90605b46a (patch) | |
tree | 2d670c234f76380874bde63e47688872a51c7322 | |
parent | 03381988766b5304b3ba955fc8d4ae24f359dd01 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/sci/engine/kernel.cpp | 8 |
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"), |