aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga_pn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/vga_pn.cpp')
-rw-r--r--engines/agos/vga_pn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/vga_pn.cpp b/engines/agos/vga_pn.cpp
index dc364cd99b..b7f80ebf91 100644
--- a/engines/agos/vga_pn.cpp
+++ b/engines/agos/vga_pn.cpp
@@ -155,7 +155,7 @@ void AGOSEngine::vc48_specialEffect() {
if (getPlatform() == Common::kPlatformDOS) {
if (num == 1) {
Graphics::Surface *screen = _system->lockScreen();
- byte *dst = (byte *)screen->getBasePtr(0, 0);
+ byte *dst = (byte *)screen->getPixels();
for (uint h = 0; h < _screenHeight; h++) {
for (uint w = 0; w < _screenWidth; w++) {