aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-03 02:36:43 +0200
committerJohannes Schickel2013-08-03 04:02:50 +0200
commit0a1cbac76ac66876d187d2951c671a86a4812a59 (patch)
treef8c93736e8bf45dcf2ea7b4d14c43859d9bbf2b3 /engines/scumm/he
parentb1bd9322a1867d95d0faa7a3ce2865b8ead8d3f8 (diff)
downloadscummvm-rg350-0a1cbac76ac66876d187d2951c671a86a4812a59.tar.gz
scummvm-rg350-0a1cbac76ac66876d187d2951c671a86a4812a59.tar.bz2
scummvm-rg350-0a1cbac76ac66876d187d2951c671a86a4812a59.zip
SCUMM: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/animation_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp
index 7ae5547702..d01b456c8b 100644
--- a/engines/scumm/he/animation_he.cpp
+++ b/engines/scumm/he/animation_he.cpp
@@ -90,7 +90,7 @@ void MoviePlayer::copyFrameToBuffer(byte *dst, int dstType, uint x, uint y, uint
if (!surface)
return;
- const byte *src = (const byte *)surface->getBasePtr(0, 0);
+ const byte *src = (const byte *)surface->getPixels();
if (_video->hasDirtyPalette())
_vm->setPaletteFromPtr(_video->getPalette(), 256);