aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
authoraliaspider2014-10-30 05:50:41 +0100
committeraliaspider2014-10-30 05:50:41 +0100
commit9d26cad1e39af6e4c96a4efb5ae00332207163ca (patch)
treefdcb68b7a608f80a7747a805988a8ab1b9ba9690 /source/gfx.h
parent452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8 (diff)
downloadsnesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.gz
snesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.bz2
snesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.zip
remove warnings
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gfx.h b/source/gfx.h
index 3473670..411c464 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -278,7 +278,7 @@ static inline uint16 COLOR_ADD(uint16 C1, uint16 C2)
#define COLOR_ADD1_2(C1, C2) \
(((((C1) & RGB_REMOVE_LOW_BITS_MASK) + \
((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1) + \
- ((C1) & (C2) & RGB_LOW_BITS_MASK) | ALPHA_BITS_MASK)
+ (((C1) & (C2) & RGB_LOW_BITS_MASK) | ALPHA_BITS_MASK))
#if defined(OLD_COLOUR_BLENDING)
#define COLOR_SUB(C1, C2) \