aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/smc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/smc.cpp')
-rw-r--r--video/codecs/smc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/smc.cpp b/video/codecs/smc.cpp
index c1b765a3cd..c0f8152547 100644
--- a/video/codecs/smc.cpp
+++ b/video/codecs/smc.cpp
@@ -56,7 +56,7 @@ SMCDecoder::~SMCDecoder() {
}
const Graphics::Surface *SMCDecoder::decodeImage(Common::SeekableReadStream *stream) {
- byte *pixels = (byte *)_surface->getBasePtr(0, 0);
+ byte *pixels = (byte *)_surface->getPixels();
uint32 numBlocks = 0;
uint32 colorFlags = 0;