aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 4c0441e0f1..ae6f9a5599 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -105,14 +105,17 @@ Common::Error SciEngine::run() {
return Common::kNoGameDataFoundError;
}
- int scaleFactor = 1;
+ bool upscaledHires = false;
// Scale the screen, if needed
if (!strcmp(getGameID(), "kq6") && getPlatform() == Common::kPlatformWindows)
- scaleFactor = 2;
+ upscaledHires = true;
+
+ // TODO: Detect japanese editions and set upscaledHires on those as well
+ // TODO: Possibly look at first picture resource and determine if its hires or not
// Initialize graphics-related parts
- SciGuiScreen *screen = new SciGuiScreen(_resMan, 320, 200, scaleFactor); // invokes initGraphics()
+ SciGuiScreen *screen = new SciGuiScreen(_resMan, 320, 200, upscaledHires); // invokes initGraphics()
SciGuiPalette *palette = new SciGuiPalette(_resMan, screen);
SciGuiCursor *cursor = new SciGuiCursor(_resMan, palette, screen);
@@ -130,8 +133,8 @@ Common::Error SciEngine::run() {
#ifdef INCLUDE_OLDGFX
// Gui change
- //_gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor); // new
- _gamestate->_gui = new SciGui32(_gamestate, screen, palette, cursor); // old
+ _gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor); // new
+ //_gamestate->_gui = new SciGui32(_gamestate, screen, palette, cursor); // old
#else
_gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor);
#endif