aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc
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/dc
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/dc')
-rw-r--r--backends/platform/dc/dc.h2
-rw-r--r--backends/platform/dc/display.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h
index 8a122ebb27..e87a0a8c90 100644
--- a/backends/platform/dc/dc.h
+++ b/backends/platform/dc/dc.h
@@ -86,7 +86,7 @@ class OSystem_Dreamcast : private DCHardware, public BaseBackend, public Filesys
Graphics::PixelFormat getScreenFormat() const;
// Returns a list of all pixel formats supported by the backend.
- Common::List<Graphics::PixelFormat> getSupportedFormats();
+ Common::List<Graphics::PixelFormat> getSupportedFormats() const;
// Set the size of the video bitmap.
// Typically, 320x200
diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp
index 35fc94b3cc..53dbff333d 100644
--- a/backends/platform/dc/display.cpp
+++ b/backends/platform/dc/display.cpp
@@ -198,7 +198,7 @@ Graphics::PixelFormat OSystem_Dreamcast::getScreenFormat() const
return screenFormats[_screenFormat];
}
-Common::List<Graphics::PixelFormat> OSystem_Dreamcast::getSupportedFormats()
+Common::List<Graphics::PixelFormat> OSystem_Dreamcast::getSupportedFormats() const
{
Common::List<Graphics::PixelFormat> list;
unsigned i;