aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/msrle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/msrle.cpp')
-rw-r--r--video/codecs/msrle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/msrle.cpp b/video/codecs/msrle.cpp
index 8efc1a9d8d..2f2ac0334f 100644
--- a/video/codecs/msrle.cpp
+++ b/video/codecs/msrle.cpp
@@ -53,7 +53,7 @@ void MSRLEDecoder::decode8(Common::SeekableReadStream *stream) {
int x = 0;
int y = _surface->h - 1;
- byte *data = (byte *) _surface->getBasePtr(0, 0);
+ byte *data = (byte *) _surface->getPixels();
uint16 width = _surface->w;
uint16 height = _surface->h;