diff options
author | Walter van Niftrik | 2009-08-19 21:10:24 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-08-19 21:10:24 +0000 |
commit | c3462a8c76bdae8f6cd5c994441f658fe413d2d6 (patch) | |
tree | 386b2c7070e4ebe2ce7ab96111902db7af1be3b4 /engines/sci/gfx/gfx_resmgr.cpp | |
parent | 9dbc76c459f188bb29b6045bf940f5efe9143511 (diff) | |
download | scummvm-rg350-c3462a8c76bdae8f6cd5c994441f658fe413d2d6.tar.gz scummvm-rg350-c3462a8c76bdae8f6cd5c994441f658fe413d2d6.tar.bz2 scummvm-rg350-c3462a8c76bdae8f6cd5c994441f658fe413d2d6.zip |
SCI: Add partial support for Amiga SCI1 games.
svn-id: r43549
Diffstat (limited to 'engines/sci/gfx/gfx_resmgr.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_resmgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp index 14c094a409..2fc50dcabc 100644 --- a/engines/sci/gfx/gfx_resmgr.cpp +++ b/engines/sci/gfx/gfx_resmgr.cpp @@ -100,7 +100,7 @@ int GfxResManager::calculatePic(gfxr_pic_t *scaled_pic, gfxr_pic_t *unscaled_pic if (_version == SCI_VERSION_1_1) gfxr_draw_pic11(unscaled_pic, flags, default_palette, res->size, res->data, &basic_style, res->id.number, _staticPalette, _portBounds); else - gfxr_draw_pic01(unscaled_pic, flags, default_palette, res->size, res->data, &basic_style, res->id.number, _resManager->isVGA(), _staticPalette, _portBounds); + gfxr_draw_pic01(unscaled_pic, flags, default_palette, res->size, res->data, &basic_style, res->id.number, _resManager->getViewType(), _staticPalette, _portBounds); } if (scaled_pic && scaled_pic->undithered_buffer) @@ -109,7 +109,7 @@ int GfxResManager::calculatePic(gfxr_pic_t *scaled_pic, gfxr_pic_t *unscaled_pic if (_version == SCI_VERSION_1_1) gfxr_draw_pic11(scaled_pic, flags, default_palette, res->size, res->data, &style, res->id.number, _staticPalette, _portBounds); else - gfxr_draw_pic01(scaled_pic, flags, default_palette, res->size, res->data, &style, res->id.number, _resManager->isVGA(), _staticPalette, _portBounds); + gfxr_draw_pic01(scaled_pic, flags, default_palette, res->size, res->data, &style, res->id.number, _resManager->getViewType(), _staticPalette, _portBounds); if (!_resManager->isVGA()) { if (need_unscaled) @@ -536,7 +536,7 @@ gfxr_view_t *GfxResManager::getView(int nr, int *loop, int *cel, int palette) { int pal = (_version <= SCI_VERSION_01) ? -1 : palette; view = getEGAView(resid, viewRes->data, viewRes->size, pal); } else { - view = getVGAView(resid, viewRes->data, viewRes->size, _staticPalette, viewType == kViewVga11); + view = getVGAView(resid, viewRes->data, viewRes->size, viewType); if (view->palette) { // Palettize view |