diff options
author | aliaspider | 2014-10-29 10:11:16 +0100 |
---|---|---|
committer | aliaspider | 2014-10-29 10:11:16 +0100 |
commit | 4fb67d24cdde1e085d09a699ed2f5d68c306f534 (patch) | |
tree | 92fbe54e835ca1c799f15b250241929681a26a99 /source/gfx.h | |
parent | 9c8d36087b5b35c35c7ff9276a15d400ce45f519 (diff) | |
download | snes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.tar.gz snes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.tar.bz2 snes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.zip |
get rid of all remaining C++ code.
Diffstat (limited to 'source/gfx.h')
-rw-r--r-- | source/gfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gfx.h b/source/gfx.h index 1b545f7..8280987 100644 --- a/source/gfx.h +++ b/source/gfx.h @@ -245,9 +245,9 @@ GFX.X2 [((((C1) & RGB_REMOVE_LOW_BITS_MASK) + \ ((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1) + \ ((C1) & (C2) & RGB_LOW_BITS_MASK)] #else -inline uint16 COLOR_ADD (uint16, uint16); +static inline uint16 COLOR_ADD (uint16, uint16); -inline uint16 COLOR_ADD (uint16 C1, uint16 C2) +static inline uint16 COLOR_ADD (uint16 C1, uint16 C2) { if (C1 == 0) return C2; |