don't blend semitransparent sprites with everything

This commit is contained in:
StapleButter 2017-03-04 14:51:48 +01:00
parent b6e12e0c18
commit f8770dc8fe
2 changed files with 2 additions and 2 deletions

View File

@ -748,7 +748,7 @@ void GPU2D::DrawScanline_Mode1(u32 line, u32* dst)
u32 coloreffect, eva, evb; u32 coloreffect, eva, evb;
u32 flag1 = val1 >> 24; u32 flag1 = val1 >> 24;
if (flag1 & 0x80) if ((flag1 & 0x80) && (BlendCnt & ((val2 >> 16) & 0xFF00)))
{ {
// sprite blending // sprite blending

View File

@ -10,7 +10,7 @@
1481161027 c:\documents\sources\melonds\types.h 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> <stdio.h>
<string.h> <string.h>
"NDS.h" "NDS.h"