diff options
author | Martin Kiewitz | 2010-01-24 20:51:34 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-24 20:51:34 +0000 |
commit | 75816d4ca16512932e130b0d67d3a185c97334f1 (patch) | |
tree | 2bb400921b651fd05e3ccbdd97456b417fa90ca8 | |
parent | 2ef784858656f20ca50565f9edf7627ffb75648c (diff) | |
download | scummvm-rg350-75816d4ca16512932e130b0d67d3a185c97334f1.tar.gz scummvm-rg350-75816d4ca16512932e130b0d67d3a185c97334f1.tar.bz2 scummvm-rg350-75816d4ca16512932e130b0d67d3a185c97334f1.zip |
SCI: added comment about using color 255 all the time for amiga games
svn-id: r47523
-rw-r--r-- | engines/sci/graphics/screen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 5dd62a17ad..c1cdf82139 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -59,6 +59,9 @@ Screen::Screen(ResourceManager *resMan, int16 width, int16 height, bool upscaled _unditherState = true; if (_resMan->isVGA() || (_resMan->getViewType() == kViewAmiga)) { + // It's not 100% accurate to set white to be 255 for amiga games + // The problem is: there are 16-color and 32-color amiga games, so we would need to jump around + // 255 is defined as white in our sci at all times, so it doesnt matter _colorWhite = 255; if (getSciVersion() >= SCI_VERSION_1_1) _colorDefaultVectorData = 255; |