aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/interface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-10 00:52:33 -0400
committerPaul Gilbert2014-03-10 00:52:33 -0400
commit9e69e64d3fc54a3d9e2065eb2af75950353c7f64 (patch)
treeccb34890ee7076937b44e2731be577c404b8981f /engines/mads/interface.cpp
parent680b5a4487a6c1b08f79c4a657b63715e69240de (diff)
downloadscummvm-rg350-9e69e64d3fc54a3d9e2065eb2af75950353c7f64.tar.gz
scummvm-rg350-9e69e64d3fc54a3d9e2065eb2af75950353c7f64.tar.bz2
scummvm-rg350-9e69e64d3fc54a3d9e2065eb2af75950353c7f64.zip
MADS: Completed PaletteUsage::process
Diffstat (limited to 'engines/mads/interface.cpp')
-rw-r--r--engines/mads/interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/interface.cpp b/engines/mads/interface.cpp
index cd2f162cf3..68e2341ccc 100644
--- a/engines/mads/interface.cpp
+++ b/engines/mads/interface.cpp
@@ -49,14 +49,14 @@ void InterfaceSurface::load(const Common::String &resName) {
// Load in the palette
Common::SeekableReadStream *palStream = madsPack.getItemStream(0);
- RGB4 *gamePalP = &_vm->_palette->_gamePalette[0];
+ uint32 *gamePalP = &_vm->_palette->_gamePalette[0];
byte *palP = &_vm->_palette->_mainPalette[0];
for (int i = 0; i < 16; ++i, gamePalP++, palP += 3) {
palP[0] = palStream->readByte();
palP[1] = palStream->readByte();
palP[2] = palStream->readByte();
- gamePalP->r |= 1;
+ *gamePalP |= 1;
palStream->skip(3);
}
delete palStream;