From 1585727ee0376c4a03c2e1e4b34569749af11b10 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 13 May 2016 00:27:37 +0200 Subject: SCUMM HE: Fix T14 special mode blending. This fixe energy shield color. --- engines/scumm/he/moonbase/moonbase.cpp | 3 +-- engines/scumm/he/wiz_he.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/engines/scumm/he/moonbase/moonbase.cpp b/engines/scumm/he/moonbase/moonbase.cpp index c07bd986d8..34d4368725 100644 --- a/engines/scumm/he/moonbase/moonbase.cpp +++ b/engines/scumm/he/moonbase/moonbase.cpp @@ -155,8 +155,7 @@ void Moonbase::blitT14WizImage(uint8 *dst, int dstw, int dsth, int dstPitch, con } else { uint32 pix = ((orig << 16) | orig) & 0x3e07c1f; pix = (((pix * alpha) & 0xffffffff) >> 5) & 0x3e07c1f; - pix = ((pix << 16) + pix + color) & 0xffff; - + pix = ((pix >> 16) + pix + color) & 0xffff; WRITE_LE_UINT16(dst1, pix); } } diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index 2a9f7ec102..43994c33d6 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -1800,7 +1800,7 @@ void Wiz::copy555WizImage(uint8 *dst, uint8 *wizd, int dstPitch, int dstType, break; case 5: - warning("T14: MMX_CHEAP_50_50"); + //warning("T14: MMX_CHEAP_50_50"); break; case 6: -- cgit v1.2.3