aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii
diff options
context:
space:
mode:
authorMax Horn2010-06-15 12:21:08 +0000
committerMax Horn2010-06-15 12:21:08 +0000
commit703f0ca29c8f1915b5fae13decb6ccde110adada (patch)
tree29d5522af7f94821deead51092fc5ce91018ae96 /backends/platform/wii
parent96f1e293009a7fe1291ed0f7c1255f9010b75098 (diff)
downloadscummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.tar.gz
scummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.tar.bz2
scummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.zip
SYSTEM: Unify OSystem::getSupportedFormats() signature
svn-id: r49838
Diffstat (limited to 'backends/platform/wii')
-rw-r--r--backends/platform/wii/osystem.h2
-rw-r--r--backends/platform/wii/osystem_gfx.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h
index d277aa38b1..8180d5727f 100644
--- a/backends/platform/wii/osystem.h
+++ b/backends/platform/wii/osystem.h
@@ -156,7 +156,7 @@ public:
virtual bool setGraphicsMode(int mode);
#ifdef USE_RGB_COLOR
virtual Graphics::PixelFormat getScreenFormat() const;
- virtual Common::List<Graphics::PixelFormat> getSupportedFormats();
+ virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;
#endif
virtual int getGraphicsMode() const;
virtual void initSize(uint width, uint height,
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 3d4e75883b..19190048a0 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -209,7 +209,7 @@ Graphics::PixelFormat OSystem_Wii::getScreenFormat() const {
return _pfGame;
}
-Common::List<Graphics::PixelFormat> OSystem_Wii::getSupportedFormats() {
+Common::List<Graphics::PixelFormat> OSystem_Wii::getSupportedFormats() const {
Common::List<Graphics::PixelFormat> res;
res.push_back(_pfRGB565);
res.push_back(Graphics::PixelFormat::createFormatCLUT8());