Skip to content

Commit

Permalink
SCUMM: Fix for bug #3174197.
Browse files Browse the repository at this point in the history
The bug is: "FOA: Wrong colors in the Amiga version".

In the original Indy4 Amiga executable palManipulateInit is a nullsub, thus
the palette effect set up by the scripts is just ignored.

The same might be true for other SCUMM Amiga games, but I can not check these
thus I limited this to Indy4 Amiga for now.
  • Loading branch information
Johannes Schickel committed Aug 21, 2011
1 parent 36dafb3 commit bc6ed99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engines/scumm/palette.cpp
Expand Up @@ -544,6 +544,12 @@ void ScummEngine::palManipulateInit(int resID, int start, int end, int time) {
return;
#endif

// This function is actually a nullsub in Indy4 Amiga.
// It might very well be a nullsub in other Amiga games, but for now I
// limit this to Indy4 Amiga, since that is the only game I can check.
if (_game.platform == Common::kPlatformAmiga && _game.id == GID_INDY4)
return;

byte *string1 = getStringAddress(resID);
byte *string2 = getStringAddress(resID + 1);
byte *string3 = getStringAddress(resID + 2);
Expand Down

0 comments on commit bc6ed99

Please sign in to comment.