diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sci.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index f91c8d568c..1cbe44cb2e 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -226,7 +226,8 @@ Common::Error SciEngine::run() { // Default config ends #endif - if (gfxop_init(_resmgr->_sciVersion, !(getFlags() & GF_SCI1_EGA), &gfx_state, &gfx_options, _resmgr)) { + bool isVGA = _resmgr->_sciVersion >= SCI_VERSION_01_VGA && !(getFlags() & GF_SCI1_EGA); + if (gfxop_init(_resmgr->_sciVersion, isVGA, &gfx_state, &gfx_options, _resmgr)) { fprintf(stderr, "Graphics initialization failed. Aborting...\n"); return Common::kUnknownError; } |