aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GPU2D.cpp2
-rw-r--r--melonDS.depend2
2 files changed, 2 insertions, 2 deletions
diff --git a/GPU2D.cpp b/GPU2D.cpp
index ef7c360..14ea86e 100644
--- a/GPU2D.cpp
+++ b/GPU2D.cpp
@@ -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"