aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-06-27 10:53:21 +0000
committerWillem Jan Palenstijn2009-06-27 10:53:21 +0000
commit6f644324863437dedecb254bf088b33c914c7241 (patch)
treef4493bb677e35ef253b36f4f001a8eee083670b5 /engines/sci/sci.cpp
parent39e957d31320b2bc69a2a2ffcdb06e88c0302065 (diff)
downloadscummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.tar.gz
scummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.tar.bz2
scummvm-rg350-6f644324863437dedecb254bf088b33c914c7241.zip
SCI: Use obtained instead of requested PixelFormat
svn-id: r41912
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 6a14c3032c..adcf302f51 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -106,11 +106,10 @@ Common::Error SciEngine::run() {
#ifdef ENABLE_RGB_COLOR
gfxmode = _system->getSupportedFormats().front();
initGraphics(320, 200, false, &gfxmode);
- // TODO: check if this succeeded? (How?)
#else
- gfxmode = Graphics::PixelFormat::createFormatCLUT8();
initGraphics(320, 200, false);
#endif
+ gfxmode = _system->getScreenFormat();
// Create debugger console. It requires GFX to be initialized
_console = new Console(this);