Commit f8770dc8 authored by StapleButter's avatar StapleButter
Browse files

don't blend semitransparent sprites with everything

parent b6e12e0c
......@@ -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
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment