diff options
author | Colin Snover | 2016-07-12 14:30:31 -0500 |
---|---|---|
committer | Colin Snover | 2016-07-12 14:43:56 -0500 |
commit | a9b7b40c66ecc428d4c23d08e201ee00b659d181 (patch) | |
tree | fc14ad11c74c397fc8fa9078abeb58bad2ac894f /engines/sci | |
parent | e133c7440309fa55034addcc41879bf180a0a299 (diff) | |
download | scummvm-rg350-a9b7b40c66ecc428d4c23d08e201ee00b659d181.tar.gz scummvm-rg350-a9b7b40c66ecc428d4c23d08e201ee00b659d181.tar.bz2 scummvm-rg350-a9b7b40c66ecc428d4c23d08e201ee00b659d181.zip |
SCI32: Disable kernel call 0x23 on LSL6hires
LSL6hires calls 0x23 (Graph/Robot) from game scripts, but it is a
null function in the game's interpreter.
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 2fc338b618..2afb8b73d1 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -885,8 +885,8 @@ void Kernel::loadKernelNames(GameFeatures *features) { // how kDoSound is called from Sound::play(). // Known games that use this: // GK2 demo - // KQ7 1.4 - // PQ4 SWAT demo + // KQ7 1.4/1.51 + // PQ:SWAT demo // LSL6 // PQ4CD // QFG4CD @@ -897,7 +897,7 @@ void Kernel::loadKernelNames(GameFeatures *features) { _kernelNames = Common::StringArray(sci2_default_knames, kKernelEntriesGk2Demo); // OnMe is IsOnMe here, but they should be compatible - _kernelNames[0x23] = "Robot"; // Graph in SCI2 + _kernelNames[0x23] = g_sci->getGameId() == GID_LSL6HIRES ? "Empty" : "Robot"; // Graph in SCI2 _kernelNames[0x2e] = "Priority"; // DisposeTextBitmap in SCI2 } else { // Normal SCI2.1 kernel table |