Fix darkness issues in Amiga verisons of FOA/MI2.

svn-id: r14333
This commit is contained in:
Travis Howell
2004-07-26 05:40:23 +00:00
parent 3a8f518b02
commit dc6541dedb
2 changed files with 3 additions and 5 deletions
-4
View File
@@ -541,10 +541,6 @@ void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int
palptr = getPalettePtr(_curPalIndex);
for (j = startColor; j <= endColor; j++) {
// FIXME: Hack to fix Amiga palette adjustments
if ((_features & GF_AMIGA && _version == 5) && (j >= 16 && j < 81))
continue;
idx = (_heversion == 70) ? _HEV7ActorPalette[j] : j;
cptr = palptr + idx * 3;
+3 -1
View File
@@ -1329,7 +1329,9 @@ void ScummEngine::initScummVars() {
} else
VAR(VAR_SOUNDCARD) = 3;
}
VAR(VAR_VIDEOMODE) = 0x13;
// Amiga versions of FOA and MI2 are only 32 colors.
if (!(_version == 5 && _features & GF_AMIGA))
VAR(VAR_VIDEOMODE) = 19;
if (_gameId == GID_LOOM && _features & GF_OLD_BUNDLE) {
// Set number of sound resources
if (!(_features & GF_MACINTOSH))