diff options
author | Johannes Schickel | 2008-12-04 11:59:30 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-12-04 11:59:30 +0000 |
commit | 9b77e926db4090e001041dd7a8a33850d7fe8fdd (patch) | |
tree | 6b882f55ae7839a49de9be851331c6f18908b6a0 /backends | |
parent | 664d696e55748a4c03f6275b2c6643adcd37c77a (diff) | |
download | scummvm-rg350-9b77e926db4090e001041dd7a8a33850d7fe8fdd.tar.gz scummvm-rg350-9b77e926db4090e001041dd7a8a33850d7fe8fdd.tar.bz2 scummvm-rg350-9b77e926db4090e001041dd7a8a33850d7fe8fdd.zip |
Fix for bug #2388270 "[Wii/GC] Unable to build SVN rev.35233".
svn-id: r35234
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/wii/osystem_gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<ColorMasks<565> >(p[0], p[1], p[2]); + _palette[start + i] = Graphics::RGBToColor<Graphics::ColorMasks<565> >(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<ColorMasks<565> >(_palette[start + i], r, g, b); + Graphics::colorToRGB<Graphics::ColorMasks<565> >(_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<ColorMasks<565> >(p[0], p[1], p[2]); + _cursorPalette[start + i] = Graphics::RGBToColor<Graphics::ColorMasks<565> >(p[0], p[1], p[2]); p += 4; } |