diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-03-04 14:51:48 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-03-04 14:51:48 +0100 |
commit | f8770dc8fea7d22319d17f2addd82dd4c9574ddc (patch) | |
tree | fdb57ad64add3e8b28eb452b190239ca46c14c1b | |
parent | b6e12e0c18680cb698bd86787196cfbe3188eecc (diff) |
don't blend semitransparent sprites with everything
-rw-r--r-- | GPU2D.cpp | 2 | ||||
-rw-r--r-- | melonDS.depend | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -748,7 +748,7 @@ void GPU2D::DrawScanline_Mode1(u32 line, u32* dst) u32 coloreffect, eva, evb; u32 flag1 = val1 >> 24; - if (flag1 & 0x80) + if ((flag1 & 0x80) && (BlendCnt & ((val2 >> 16) & 0xFF00))) { // sprite blending diff --git a/melonDS.depend b/melonDS.depend index d81da60..4e93ed7 100644 --- a/melonDS.depend +++ b/melonDS.depend @@ -10,7 +10,7 @@ 1481161027 c:\documents\sources\melonds\types.h -1488594513 source:c:\documents\sources\melonds\nds.cpp +1488635272 source:c:\documents\sources\melonds\nds.cpp <stdio.h> <string.h> "NDS.h" |