aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorRobert Špalek2009-11-11 00:27:08 +0000
committerRobert Špalek2009-11-11 00:27:08 +0000
commit9dd61159cd75551b4780c159bfc4abc588357692 (patch)
tree505a1c339321042eb9d0c91fae7bd06c962254ba /engines/draci
parent78a10999ab241c6dd4496e6d66e9a608a0e78c30 (diff)
downloadscummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.tar.gz
scummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.tar.bz2
scummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.zip
Documented palette shift
svn-id: r45825
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/screen.cpp b/engines/draci/screen.cpp
index 8e301c0c88..a17e3c8ca7 100644
--- a/engines/draci/screen.cpp
+++ b/engines/draci/screen.cpp
@@ -65,8 +65,8 @@ void Screen::setPalette(const byte *data, uint16 start, uint16 num) {
_palette[i * 4 + 3] = 0;
}
- // TODO: Investigate why this is needed
- // Shift the palette two bits to the left to make it brighter
+ // Shift the palette two bits to the left to make it brighter. The
+ // original game only uses 6-bit colors 0..63.
for (int i = start * 4; i < (start + num) * 4; ++i) {
_palette[i] <<= 2;
}