aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga_ww.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-03 02:36:55 +0200
committerJohannes Schickel2013-08-03 04:02:50 +0200
commit01daff0f1d5f222e7b892f3068e7ef6880b40346 (patch)
treeeaa8d1fe75705861058dcd27ddf9931773879003 /engines/agos/vga_ww.cpp
parent0a1cbac76ac66876d187d2951c671a86a4812a59 (diff)
downloadscummvm-rg350-01daff0f1d5f222e7b892f3068e7ef6880b40346.tar.gz
scummvm-rg350-01daff0f1d5f222e7b892f3068e7ef6880b40346.tar.bz2
scummvm-rg350-01daff0f1d5f222e7b892f3068e7ef6880b40346.zip
AGOS: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines/agos/vga_ww.cpp')
-rw-r--r--engines/agos/vga_ww.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/vga_ww.cpp b/engines/agos/vga_ww.cpp
index f0e081182e..ca93fa9fec 100644
--- a/engines/agos/vga_ww.cpp
+++ b/engines/agos/vga_ww.cpp
@@ -143,7 +143,7 @@ void AGOSEngine::vc61() {
uint h, tmp;
Graphics::Surface *screen = _system->lockScreen();
- dstPtr = (byte *)screen->getBasePtr(0, 0);
+ dstPtr = (byte *)screen->getPixels();
if (a == 6) {
src = _curVgaFile2 + 800;