From 3d3d0dee1b8cbc570d1626b1ca8e690f84cf54c5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 6 Jan 2010 12:21:27 +0000 Subject: [PATCH] SCI2.1 and newer games always run at 640x480 svn-id: r47073 --- engines/sci/sci.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 8ae054655b5..ac5c734d6ca 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -110,7 +110,7 @@ Common::Error SciEngine::run() { // Scale the screen, if needed bool upscaledHires = (!strcmp(getGameID(), "kq6") #ifdef ENABLE_SCI32 - || getSciVersion() >= SCI_VERSION_2 + || getSciVersion() == SCI_VERSION_2 #endif ) && getPlatform() == Common::kPlatformWindows; @@ -118,7 +118,16 @@ Common::Error SciEngine::run() { // TODO: Possibly look at first picture resource and determine if its hires or not // Initialize graphics-related parts - Screen *screen = new Screen(_resMan, 320, 200, upscaledHires); // invokes initGraphics() + Screen *screen = 0; + +#ifdef ENABLE_SCI32 + if (getSciVersion() >= SCI_VERSION_2_1) + screen = new Screen(_resMan, 640, 480, false); // invokes initGraphics() + else +#endif + screen = new Screen(_resMan, 320, 200, upscaledHires); // invokes initGraphics() + + SciPalette *palette = new SciPalette(_resMan, screen); Cursor *cursor = new Cursor(_resMan, palette, screen);