From 123f81f837f62169971da10c89d0caf3866400d9 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 16 Feb 2011 00:51:33 +0100 Subject: 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. --- backends/platform/wii/osystem_gfx.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/platform/wii') 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 >(0xff, s[0], s[1], s[2]); } -- cgit v1.2.3