diff options
author | Robert Špalek | 2009-11-11 00:27:08 +0000 |
---|---|---|
committer | Robert Špalek | 2009-11-11 00:27:08 +0000 |
commit | 9dd61159cd75551b4780c159bfc4abc588357692 (patch) | |
tree | 505a1c339321042eb9d0c91fae7bd06c962254ba /engines | |
parent | 78a10999ab241c6dd4496e6d66e9a608a0e78c30 (diff) | |
download | scummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.tar.gz scummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.tar.bz2 scummvm-rg350-9dd61159cd75551b4780c159bfc4abc588357692.zip |
Documented palette shift
svn-id: r45825
Diffstat (limited to 'engines')
-rw-r--r-- | engines/draci/screen.cpp | 4 |
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; } |