diff options
-rw-r--r-- | engines/scumm/he/moonbase/distortion.cpp | 1 | ||||
-rw-r--r-- | engines/scumm/he/wiz_he.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/he/moonbase/distortion.cpp b/engines/scumm/he/moonbase/distortion.cpp index 8465771820..0bef2459b5 100644 --- a/engines/scumm/he/moonbase/distortion.cpp +++ b/engines/scumm/he/moonbase/distortion.cpp @@ -190,6 +190,7 @@ void Moonbase::blitDistortion(byte *bufferData, const int bufferWidth, const int int src_x = (x + xOffset); int src_y = (y + yOffset); + warning("x1: %d y1: %d x2: %d y2: %d", (src_x - l_reach), (src_y - t_reach), (src_x + r_reach), (src_y + b_reach)); Common::Rect srcReach((src_x - l_reach), (src_y - t_reach), (src_x + r_reach), (src_y + b_reach)); Common::Rect srcLimits(srcBitmap.w, srcBitmap.h); diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index e55c3cbb72..b152b40103 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -1817,6 +1817,7 @@ void Wiz::copy555WizImage(uint8 *dst, uint8 *wizd, int dstPitch, int dstType, ((ScummEngine_v100he *)_vm)->_moonbase->blitT14WizImage(dst, dstw, dsth, dstPitch, clipBox, wizd, srcx, srcy, rawROP, paramROP); } else if (compID == 0x12340802) { warning("Distortion codec"); + ((ScummEngine_v100he *)_vm)->_moonbase->blitDistortion(dst, dstw, dsth, dstPitch, clipBox, wizd, srcx, srcy, 0); } else if (compID == 0x12340902) { error("Unsupported Distortion"); } |