diff options
| author | Matthew Hoops | 2011-08-26 22:44:17 -0400 | 
|---|---|---|
| committer | Matthew Hoops | 2011-08-26 22:44:17 -0400 | 
| commit | 4a69dc13d92e82fff85dc5a3a923b74ced259ffa (patch) | |
| tree | 8945cd3745fd65f28b043caf7b1beddbbce2b2a1 /engines/scumm/palette.cpp | |
| parent | ad293b249e74dd1cfbdbd721d02145efbdaf9eca (diff) | |
| parent | 5e174cbfe466dbbe8e5470b0a00de1481b986181 (diff) | |
| download | scummvm-rg350-4a69dc13d92e82fff85dc5a3a923b74ced259ffa.tar.gz scummvm-rg350-4a69dc13d92e82fff85dc5a3a923b74ced259ffa.tar.bz2 scummvm-rg350-4a69dc13d92e82fff85dc5a3a923b74ced259ffa.zip | |
Merge remote branch 'upstream/master' into pegasus
Diffstat (limited to 'engines/scumm/palette.cpp')
| -rw-r--r-- | engines/scumm/palette.cpp | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp index 51ba2195d7..30096000ce 100644 --- a/engines/scumm/palette.cpp +++ b/engines/scumm/palette.cpp @@ -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); @@ -670,6 +676,12 @@ static inline uint colorWeight(int red, int green, int blue) {  }  void ScummEngine::setShadowPalette(int redScale, int greenScale, int blueScale, int startColor, int endColor, int start, int end) { +	// 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; +  	const byte *basepal = getPalettePtr(_curPalIndex, _roomResource);  	const byte *compareptr;  	const byte *pal = basepal + start * 3; | 
