diff options
author | Johannes Schickel | 2011-02-16 00:51:33 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-16 00:52:52 +0100 |
commit | 123f81f837f62169971da10c89d0caf3866400d9 (patch) | |
tree | 9954f30fc828d682785f7b0aa8d7444b8f345506 | |
parent | c9a9f7b48fabd5905927b8dd5eaea037a33dd3b6 (diff) | |
download | scummvm-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.
-rw-r--r-- | backends/platform/wii/osystem_gfx.cpp | 3 |
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]); } |