aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-24 20:51:34 +0000
committerMartin Kiewitz2010-01-24 20:51:34 +0000
commit75816d4ca16512932e130b0d67d3a185c97334f1 (patch)
tree2bb400921b651fd05e3ccbdd97456b417fa90ca8 /engines/sci
parent2ef784858656f20ca50565f9edf7627ffb75648c (diff)
downloadscummvm-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
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/screen.cpp3
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;