aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJody Northup2009-06-15 09:45:19 +0000
committerJody Northup2009-06-15 09:45:19 +0000
commit8d306ebccfa7e88b2e4f4635bff3987e550f98d3 (patch)
tree937afc4b40b3d38da4a67fcd13cef91c097097cb /base
parente6f874ee9508a6631635504808680e50a4f55c7f (diff)
downloadscummvm-rg350-8d306ebccfa7e88b2e4f4635bff3987e550f98d3.tar.gz
scummvm-rg350-8d306ebccfa7e88b2e4f4635bff3987e550f98d3.tar.bz2
scummvm-rg350-8d306ebccfa7e88b2e4f4635bff3987e550f98d3.zip
Added kUnsupportedColorMode error code brought Scumm engine and SDL backend into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/
Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers. Removed last vestiges (I think) of initial cursor hack. svn-id: r41539
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index ab97af10be..5c1ca7dc20 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -227,7 +227,7 @@ static void setupGraphics(OSystem &system) {
system.setGraphicsMode(ConfMan.get("gfx_mode").c_str());
#ifdef ENABLE_16BIT
- system.initFormat(system.getPixelFormat(Graphics::kFormatCLUT8));
+ system.initFormat(Graphics::kFormatCLUT8);
#endif
system.initSize(320, 200);