aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.cpp
diff options
context:
space:
mode:
authorAndre Heider2009-08-22 08:49:23 +0000
committerAndre Heider2009-08-22 08:49:23 +0000
commit5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce (patch)
tree85fc99c6ace171a4057f752c325460f9cfe55e14 /backends/platform/wii/osystem.cpp
parent66d8adef9f875be8fc82e2fd305cbadc22ed02a6 (diff)
downloadscummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.tar.gz
scummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.tar.bz2
scummvm-rg350-5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce.zip
16bit support for the Wii port
svn-id: r43631
Diffstat (limited to 'backends/platform/wii/osystem.cpp')
-rw-r--r--backends/platform/wii/osystem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp
index ae1eb11f4f..3f53605e85 100644
--- a/backends/platform/wii/osystem.cpp
+++ b/backends/platform/wii/osystem.cpp
@@ -52,6 +52,11 @@ OSystem_Wii::OSystem_Wii() :
_currentHeight(0),
_activeGraphicsMode(0),
+#ifdef USE_RGB_COLOR
+ _texturePF(Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0)),
+ _screenPF(Graphics::PixelFormat::createFormatCLUT8()),
+ _cursorPF(Graphics::PixelFormat::createFormatCLUT8()),
+#endif
_fullscreen(false),