summaryrefslogtreecommitdiff
path: root/gflib
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-18 08:11:25 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-08-18 08:16:09 -0400
commit0e7f634b00f904ac29088f3b7fdac0c51999be2d (patch)
tree57451f084310621d1169f6da3cedff4ae32a5dc1 /gflib
parent3372993a6361e9417f016046caa8629254b84ba6 (diff)
Wrap asm statements in NONMATCHING
Diffstat (limited to 'gflib')
-rw-r--r--gflib/text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gflib/text.c b/gflib/text.c
index 07fd23109..636fe50a9 100644
--- a/gflib/text.c
+++ b/gflib/text.c
@@ -475,15 +475,15 @@ u8 GetLastTextColor(u8 colorType)
\
for (; i < toY; i++) \
{ \
- asm("":::"sl"); \
+ asm("":::"sl"); /* NONMATCHING */ \
r5 = *(ptr++); \
for (j = fromX; j < toX; j++) \
{ \
const u32 toOrr = r5 & 0xF; \
if (toOrr) \
{ \
- dst = windowTiles + ((j / 8) * 32) + ((j & 7) >> 1) + ((i / 8) * widthOffset) + ((i & 7) * 4); \
- bits = ((j & 1) * 4); \
+ dst = windowTiles + ((j / 8) * 32) + ((j & 7) >> 1) + ((i / 8) * widthOffset) + ((i & 7) * 4); \
+ bits = ((j & 1) * 4); \
*dst = (toOrr << bits) | ((0xF0 >> bits) & *dst); \
} \
r5 >>= 4; \