SCUMM: Add MI1 Lemonhead lines for the Mac CD versions too

The Mac CD versions that I have use the same GUI as the DOS CD version,
but don't have CD audio tracks for the music. (So there is no music for
the cannibal village.) The script to patch is identical to the DOS CD
version, but located four bytes earlier in the room resource.
This commit is contained in:
Torbjörn Andersson 2021-08-10 22:05:02 +02:00
parent 1766a2121a
commit d1f4824864

View File

@ -1840,6 +1840,16 @@ bool ScummEngine::tryPatchMI1CannibalScript(byte *buf, int size) {
lang[0] = 'E';
lang[1] = 'N';
lang[2] = 'G';
// The Macintosh resource is 4 bytes shorter, which affects
// the script offset as well. Otherwise, both Mac versions
// that I have are identical to the DOS CD version in this
// particular case.
if (_game.platform == Common::kPlatformMacintosh) {
expectedSize -= 4;
scriptOffset -= 4;
}
break;
case Common::IT_ITA:
expectedSize = 83211;