diff options
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 6 | ||||
-rw-r--r-- | engines/sci/engine/kernel32.cpp | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index c0d8045899..5a1ff878d7 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -826,10 +826,10 @@ bool Kernel::loadKernelNames() { _kernelNames.clear(); #ifdef ENABLE_SCI32 - if (_resourceManager->sciVersion() == SCI_VERSION_2) - setKernelNamesSci2(); - else if (_resourceManager->sciVersion() == SCI_VERSION_2_1) + if (_resourceManager->sciVersion() >= SCI_VERSION_2_1) setKernelNamesSci21(); + else if (_resourceManager->sciVersion() == SCI_VERSION_2) + setKernelNamesSci2(); else #endif setDefaultKernelNames(); diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp index d6521af4e5..4c8b486653 100644 --- a/engines/sci/engine/kernel32.cpp +++ b/engines/sci/engine/kernel32.cpp @@ -258,7 +258,7 @@ static const char *sci21_default_knames[] = { /*0x53*/ "MapKeyToDir", /*0x54*/ "HaveMouse", /*0x55*/ "SetCursor", - /*0x56*/ "VibrateMouse", + /*0x56*/ "VibrateMouse", // NOTE: Not in SCI3, instead replaced by Dummy. /*0x57*/ "Dummy", /*0x58*/ "Dummy", /*0x59*/ "Dummy", @@ -325,7 +325,12 @@ static const char *sci21_default_knames[] = { /*0x96*/ "Dummy", /*0x97*/ "Dummy", /*0x98*/ "Dummy", - /*0x99*/ "Dummy" + /*0x99*/ "Dummy", + + // SCI3 + /*0x9a*/ "Dummy", + /*0x9b*/ "Dummy", + /*0x9c*/ "DeletePic" }; void Kernel::setKernelNamesSci2() { |