diff options
author | Johannes Schickel | 2011-02-15 22:57:34 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-15 22:59:21 +0100 |
commit | 2078024ee41b83f87732d9d4cdceadaba8c79609 (patch) | |
tree | e1c6dbc6b6e06b9c8fc32a1344b6255111a0dead /engines/made/screen.cpp | |
parent | 74e4b5a6cdada50fcf5ab32f73da16c356a1d16a (diff) | |
download | scummvm-rg350-2078024ee41b83f87732d9d4cdceadaba8c79609.tar.gz scummvm-rg350-2078024ee41b83f87732d9d4cdceadaba8c79609.tar.bz2 scummvm-rg350-2078024ee41b83f87732d9d4cdceadaba8c79609.zip |
MADE: Revert a little behavior change in setRGBPalette.
This was introduced when converting to the new RGB data setPalette call. It
should not have caused any troubles, since start is always 0 it seems, but
better be sure about this one and keep the original behavior.
Diffstat (limited to 'engines/made/screen.cpp')
-rw-r--r-- | engines/made/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp index b76ff15851..2649e2bd37 100644 --- a/engines/made/screen.cpp +++ b/engines/made/screen.cpp @@ -218,7 +218,7 @@ void Screen::drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 f } void Screen::setRGBPalette(byte *palRGB, int start, int count) { - _vm->_system->getPaletteManager()->setPalette(palRGB + start * 3, start, count); + _vm->_system->getPaletteManager()->setPalette(palRGB, start, count); } uint16 Screen::updateChannel(uint16 channelIndex) { |