diff options
Diffstat (limited to 'engines/sci/graphics/view.cpp')
-rw-r--r-- | engines/sci/graphics/view.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index f593225e9f..02ffc240d9 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -119,7 +119,6 @@ void GfxView::initData(GuiResourceId resourceId) { _loop.resize(0); _embeddedPal = false; _EGAmapping.clear(); - _sci2ScaleRes = SCI_VIEW_NATIVERES_NONE; _isScaleable = true; // we adjust inside getCelRect for SCI0EARLY (that version didn't have the +1 when calculating bottom) @@ -415,10 +414,6 @@ Palette *GfxView::getPalette() { return _embeddedPal ? &_viewPalette : NULL; } -bool GfxView::isSci2Hires() { - return _sci2ScaleRes > SCI_VIEW_NATIVERES_320x200; -} - bool GfxView::isScaleable() { return _isScaleable; } @@ -933,11 +928,11 @@ void GfxView::drawScaled(const Common::Rect &rect, const Common::Rect &clipRect, } void GfxView::adjustToUpscaledCoordinates(int16 &y, int16 &x) { - _screen->adjustToUpscaledCoordinates(y, x, _sci2ScaleRes); + _screen->adjustToUpscaledCoordinates(y, x); } void GfxView::adjustBackUpscaledCoordinates(int16 &y, int16 &x) { - _screen->adjustBackUpscaledCoordinates(y, x, _sci2ScaleRes); + _screen->adjustBackUpscaledCoordinates(y, x); } } // End of namespace Sci |