diff options
author | stevenhoefel | 2017-01-13 15:32:00 +1100 |
---|---|---|
committer | stevenhoefel | 2017-01-13 15:32:00 +1100 |
commit | ef295bfd1d133d71b2e368669490421885f0499b (patch) | |
tree | 1a13c189386b8c7b1c297d8186c2e58b71582986 /engines/director/frame.cpp | |
parent | c199d2e55d4a003f7941763cd9f8f999c07c557e (diff) | |
download | scummvm-rg350-ef295bfd1d133d71b2e368669490421885f0499b.tar.gz scummvm-rg350-ef295bfd1d133d71b2e368669490421885f0499b.tar.bz2 scummvm-rg350-ef295bfd1d133d71b2e368669490421885f0499b.zip |
DIRECTOR: D4 image loading based on BPP.
Diffstat (limited to 'engines/director/frame.cpp')
-rw-r--r-- | engines/director/frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 796879c257..0af63585cc 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -788,7 +788,7 @@ Image::ImageDecoder *Frame::getImageFrom(uint16 spriteId) { debugC(2, kDebugImages, "id: %d, w: %d, h: %d, flags: %x, some: %x, unk1: %d, unk2: %d", imgId, w, h, bc->flags, bc->someFlaggyThing, bc->unk1, bc->unk2); - img = new BITDDecoderV4(w, h); + img = new BITDDecoderV4(w, h, bc->bitsPerPixel); } else { img = new Image::BitmapDecoder(); } |