ACCESS: Fix derived Screen copyBlock method signature

This commit is contained in:
Paul Gilbert 2016-05-27 21:54:41 -04:00
parent 371b50e75a
commit f1f50b3a9d
2 changed files with 2 additions and 2 deletions

View file

@ -253,7 +253,7 @@ void Screen::restoreScreen() {
_screenYOff = _screenSave._screenYOff; _screenYOff = _screenSave._screenYOff;
} }
void Screen::copyBlock(ASurface *src, const Common::Rect &bounds) { void Screen::copyBlock(BaseSurface *src, const Common::Rect &bounds) {
Common::Rect destBounds = bounds; Common::Rect destBounds = bounds;
destBounds.translate(_windowXAdd, _windowYAdd + _screenYOff); destBounds.translate(_windowXAdd, _windowYAdd + _screenYOff);

View file

@ -86,7 +86,7 @@ public:
*/ */
virtual void update(); virtual void update();
virtual void copyBlock(ASurface *src, const Common::Rect &bounds); virtual void copyBlock(BaseSurface *src, const Common::Rect &bounds);
virtual void restoreBlock(); virtual void restoreBlock();