aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-16 00:51:33 +0100
committerJohannes Schickel2011-02-16 00:52:52 +0100
commit123f81f837f62169971da10c89d0caf3866400d9 (patch)
tree9954f30fc828d682785f7b0aa8d7444b8f345506 /backends
parentc9a9f7b48fabd5905927b8dd5eaea037a33dd3b6 (diff)
downloadscummvm-rg350-123f81f837f62169971da10c89d0caf3866400d9.tar.gz
scummvm-rg350-123f81f837f62169971da10c89d0caf3866400d9.tar.bz2
scummvm-rg350-123f81f837f62169971da10c89d0caf3866400d9.zip
WII: Fix OSystem_Wii::setPalette after the ScummVM upstream merge in a024546.
I accidently removed two lines when doing the merge since I read the log incorrectly. Thanks to dhewg for reporting this.
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 8dc18464a8..cb9a8c72e9 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -331,6 +331,9 @@ void OSystem_Wii::setPalette(const byte *colors, uint start, uint num) {
gfx_tex_flush_palette(&_texGame);
+ s = colors;
+ d = _cursorPalette;
+
for (uint i = 0; i < num; ++i, s += 3) {
d[start + i] = Graphics::ARGBToColor<Graphics::ColorMasks<3444> >(0xff, s[0], s[1], s[2]);
}