Add the minor differences of SCI3 to the SCI2.1 kernel table.

svn-id: r43763
This commit is contained in:
Matthew Hoops 2009-08-27 01:39:30 +00:00
parent 2ceafbae77
commit 5d83522e75
2 changed files with 10 additions and 5 deletions

View File

@ -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();

View File

@ -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() {