From 9b77e926db4090e001041dd7a8a33850d7fe8fdd Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 4 Dec 2008 11:59:30 +0000 Subject: Fix for bug #2388270 "[Wii/GC] Unable to build SVN rev.35233". svn-id: r35234 --- backends/platform/wii/osystem_gfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/platform/wii/osystem_gfx.cpp') diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp index 9ce70e70c3..d65aa9bb87 100644 --- a/backends/platform/wii/osystem_gfx.cpp +++ b/backends/platform/wii/osystem_gfx.cpp @@ -197,7 +197,7 @@ int16 OSystem_Wii::getHeight() { void OSystem_Wii::setPalette(const byte *colors, uint start, uint num) { const byte *p = colors; for (uint i = 0; i < num; ++i) { - _palette[start + i] = Graphics::RGBToColor >(p[0], p[1], p[2]); + _palette[start + i] = Graphics::RGBToColor >(p[0], p[1], p[2]); p += 4; } } @@ -206,7 +206,7 @@ void OSystem_Wii::grabPalette(byte *colors, uint start, uint num) { byte *p = colors; u8 r, g, b; for (uint i = 0; i < num; ++i) { - Graphics::colorToRGB >(_palette[start + i], r, g, b); + Graphics::colorToRGB >(_palette[start + i], r, g, b); p[0] = r; p[1] = g; p[2] = b; @@ -218,7 +218,7 @@ void OSystem_Wii::grabPalette(byte *colors, uint start, uint num) { void OSystem_Wii::setCursorPalette(const byte *colors, uint start, uint num) { const byte *p = colors; for (uint i = 0; i < num; ++i) { - _cursorPalette[start + i] = Graphics::RGBToColor >(p[0], p[1], p[2]); + _cursorPalette[start + i] = Graphics::RGBToColor >(p[0], p[1], p[2]); p += 4; } -- cgit v1.2.3