aboutsummaryrefslogtreecommitdiff
path: root/scumm/palette_he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-08 01:22:39 +0000
committerTravis Howell2005-04-08 01:22:39 +0000
commit806c78655f8a088abc0e7ce396156ba20be86530 (patch)
treeeb45fe69da5969955a8e1619dbd50ef172a8fca3 /scumm/palette_he.cpp
parent59703e4a57e93858d1133702ed4261e74cb58c87 (diff)
downloadscummvm-rg350-806c78655f8a088abc0e7ce396156ba20be86530.tar.gz
scummvm-rg350-806c78655f8a088abc0e7ce396156ba20be86530.tar.bz2
scummvm-rg350-806c78655f8a088abc0e7ce396156ba20be86530.zip
Add missing palette cpy.
svn-id: r17445
Diffstat (limited to 'scumm/palette_he.cpp')
-rw-r--r--scumm/palette_he.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/palette_he.cpp b/scumm/palette_he.cpp
index 5a7a178815..f587ba2371 100644
--- a/scumm/palette_he.cpp
+++ b/scumm/palette_he.cpp
@@ -157,6 +157,8 @@ void ScummEngine_v99he::setPaletteFromPtr(const byte *ptr, int numcolor) {
}
}
+ memcpy(_hePalettes, _hePalettes + 1024, 768);
+
for (i = 0; i < 10; ++i)
_hePalettes[1792 + i] = i;
for (i = 246; i < 256; ++i)