aboutsummaryrefslogtreecommitdiff
path: root/engines/made/screen.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-15 22:57:34 +0100
committerJohannes Schickel2011-02-15 22:59:21 +0100
commit2078024ee41b83f87732d9d4cdceadaba8c79609 (patch)
treee1c6dbc6b6e06b9c8fc32a1344b6255111a0dead /engines/made/screen.cpp
parent74e4b5a6cdada50fcf5ab32f73da16c356a1d16a (diff)
downloadscummvm-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.cpp2
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) {