summaryrefslogtreecommitdiff
path: root/src/gfx16.c
diff options
context:
space:
mode:
authoraliaspider2015-11-10 21:54:46 +0100
committeraliaspider2015-11-10 22:09:17 +0100
commitcb00e7c9972998584fec5c31f82c4a4e64578967 (patch)
treea667e63faf0349e96611bd83526bdd9bb30ae028 /src/gfx16.c
parentaf0a6487130a28f46f4ca233e312a09c310edb0d (diff)
downloadsnes9x2002-cb00e7c9972998584fec5c31f82c4a4e64578967.tar.gz
snes9x2002-cb00e7c9972998584fec5c31f82c4a4e64578967.tar.bz2
snes9x2002-cb00e7c9972998584fec5c31f82c4a4e64578967.zip
another one.
Diffstat (limited to 'src/gfx16.c')
-rw-r--r--src/gfx16.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfx16.c b/src/gfx16.c
index 2ad156f..7480a9b 100644
--- a/src/gfx16.c
+++ b/src/gfx16.c
@@ -2607,6 +2607,7 @@ static void S9xUpdateScreenTransparency() // ~30-50ms! (called from FLUSH_REDRA
" bmi 2f \n"
" mov r1, r0 \n"
" mov r2, r0 \n"
+ " bic %[p], #3 \n"
"1: \n"
" subs %[width], %[width], #8 \n"
@@ -2616,6 +2617,7 @@ static void S9xUpdateScreenTransparency() // ~30-50ms! (called from FLUSH_REDRA
"2: \n"
" tst %[width], #1 \n"
" strneh %[fixedcolour], [%[p]], #2 \n"
+ " bic %[p], #3 \n"
" tst %[width], #2 \n"
" strne %[fixedcolour], [%[p]], #4 \n"