From dbdec32b7dbdc7acac080932db91ff0fdb73af09 Mon Sep 17 00:00:00 2001 From: ysj1173886760 <1173886760@qq.com> Date: Fri, 20 Aug 2021 22:36:22 +0800 Subject: [PATCH] DIRECTOR: add comments for BITD decoder. --- engines/director/images.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/director/images.cpp b/engines/director/images.cpp index 611854a84a6..779016f03ca 100644 --- a/engines/director/images.cpp +++ b/engines/director/images.cpp @@ -288,6 +288,8 @@ bool BITDDecoder::loadStream(Common::SeekableReadStream &stream) { break; case 32: + // if we have the issue in D3 32bpp images, then the way to fix it should be the same as 16bpp images. + // check the code above, there is different behaviour between in D4 and D3. Currently we are only using D4. convertPixelIntoSurface(_surface->getBasePtr(x, y), (_bitsPerPixel / 8), _surface->format.bytesPerPixel,