diff options
author | Travis Howell | 2005-03-07 00:39:48 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-07 00:39:48 +0000 |
commit | 07aa92063aebce928dac7a70ab61970af14b1305 (patch) | |
tree | 3b904a153db3c30fa1c641d6c51bc65afed058f9 /scumm | |
parent | 7dd8a39ad03ab8944d9ad37ea647bf90e26c735a (diff) | |
download | scummvm-rg350-07aa92063aebce928dac7a70ab61970af14b1305.tar.gz scummvm-rg350-07aa92063aebce928dac7a70ab61970af14b1305.tar.bz2 scummvm-rg350-07aa92063aebce928dac7a70ab61970af14b1305.zip |
Add Amiga renderer mode for EGA games.
svn-id: r17019
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scumm.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 713abd0cba..c0e7ad4d79 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1039,6 +1039,11 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS _renderMode = Common::kRenderDefault; break; + case Common::kRenderAmiga: + if (!(_features & GF_16COLOR)) + _renderMode = Common::kRenderDefault; + break; + default: break; } @@ -1318,7 +1323,7 @@ void ScummEngine::scummInit() { } else if (_features & GF_16COLOR) { for (i = 0; i < 16; i++) _shadowPalette[i] = i; - if ((_features & GF_AMIGA) || (_features & GF_ATARI_ST)) + if ((_features & GF_AMIGA) || (_features & GF_ATARI_ST) || _renderMode == Common::kRenderAmiga) setupAmigaPalette(); else if (_renderMode == Common::kRenderHercA || _renderMode == Common::kRenderHercG) setupHercPalette(); |