aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/graphics.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-05-24 17:18:09 +0000
committerMatthew Hoops2010-05-24 17:18:09 +0000
commitad0eb0b06ef6c715280c21a1c036be5c56a3183a (patch)
treeca9821a5cdf704cf8e8cdfa5f5a22fb8e61d6e22 /engines/mohawk/graphics.cpp
parentafd909d69e461f42b454e8b6ff89cdca145890be (diff)
downloadscummvm-rg350-ad0eb0b06ef6c715280c21a1c036be5c56a3183a.tar.gz
scummvm-rg350-ad0eb0b06ef6c715280c21a1c036be5c56a3183a.tar.bz2
scummvm-rg350-ad0eb0b06ef6c715280c21a1c036be5c56a3183a.zip
Move the PICT code to graphics/ with some updates; needed for SCI1.1 Mac.
svn-id: r49195
Diffstat (limited to 'engines/mohawk/graphics.cpp')
-rw-r--r--engines/mohawk/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp
index 1b220c861b..2ddfb47575 100644
--- a/engines/mohawk/graphics.cpp
+++ b/engines/mohawk/graphics.cpp
@@ -79,7 +79,7 @@ MystGraphics::MystGraphics(MohawkEngine_Myst* vm) : _vm(vm) {
if (_vm->getFeatures() & GF_ME) {
_jpegDecoder = new Graphics::JPEGDecoder();
- _pictDecoder = new MystPICT(_jpegDecoder);
+ _pictDecoder = new Graphics::PictDecoder(_pixelFormat);
} else {
_jpegDecoder = NULL;
_pictDecoder = NULL;