aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-27 21:54:41 -0400
committerPaul Gilbert2016-05-27 21:54:41 -0400
commitf1f50b3a9d9df8a7b76d67ded71a2f55fb20f8c1 (patch)
tree866f5633dc6a3ea8fd2564448b4700869a55f022
parent371b50e75abec89ed182a72599d96b645711bbc8 (diff)
downloadscummvm-rg350-f1f50b3a9d9df8a7b76d67ded71a2f55fb20f8c1.tar.gz
scummvm-rg350-f1f50b3a9d9df8a7b76d67ded71a2f55fb20f8c1.tar.bz2
scummvm-rg350-f1f50b3a9d9df8a7b76d67ded71a2f55fb20f8c1.zip
ACCESS: Fix derived Screen copyBlock method signature
-rw-r--r--engines/access/screen.cpp2
-rw-r--r--engines/access/screen.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp
index e62af9fb5f..2d29ad0718 100644
--- a/engines/access/screen.cpp
+++ b/engines/access/screen.cpp
@@ -253,7 +253,7 @@ void Screen::restoreScreen() {
_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;
destBounds.translate(_windowXAdd, _windowYAdd + _screenYOff);
diff --git a/engines/access/screen.h b/engines/access/screen.h
index 93300544bb..1c1932511d 100644
--- a/engines/access/screen.h
+++ b/engines/access/screen.h
@@ -86,7 +86,7 @@ public:
*/
virtual void update();
- virtual void copyBlock(ASurface *src, const Common::Rect &bounds);
+ virtual void copyBlock(BaseSurface *src, const Common::Rect &bounds);
virtual void restoreBlock();