diff options
author | Filippos Karapetis | 2009-07-11 19:00:56 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-11 19:00:56 +0000 |
commit | f0892cdcbef2dff7a9f072d2bb7df42aa3d44a14 (patch) | |
tree | bbe224aaee66ac049c33d89602cd4fbaea0b19f8 /engines/sci/gfx | |
parent | 4f0888b8b65531c71c7aefafd9dda0d662a0dfc1 (diff) | |
download | scummvm-rg350-f0892cdcbef2dff7a9f072d2bb7df42aa3d44a14.tar.gz scummvm-rg350-f0892cdcbef2dff7a9f072d2bb7df42aa3d44a14.tar.bz2 scummvm-rg350-f0892cdcbef2dff7a9f072d2bb7df42aa3d44a14.zip |
Some work on QFG1VGA (looks like a mix of SCI1 and SCI1.1)
svn-id: r42393
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/gfx_resmgr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp index f4c5fdf0dd..4a3c79feef 100644 --- a/engines/sci/gfx/gfx_resmgr.cpp +++ b/engines/sci/gfx/gfx_resmgr.cpp @@ -57,6 +57,11 @@ GfxResManager::GfxResManager(gfx_options_t *options, GfxDriver *driver, Resource _portBounds = Common::Rect(0, 10, 320, 200); // default value, with a titlebar of 10px _version = resManager->_volVersion; + // Workaround for QFG1 VGA (has SCI 1.1 view data with SCI 1 compression) + if (_version == SCI_VERSION_1 && !strcmp(((SciEngine*)g_engine)->getGameID(), "qfg1")) { + _version = SCI_VERSION_1_1; + } + if (!_resManager->isVGA()) { _staticPalette = gfx_sci0_pic_colors->getref(); } else if (_version == SCI_VERSION_1_1) { |