diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-08-18 08:11:25 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-08-18 08:16:09 -0400 |
commit | 0e7f634b00f904ac29088f3b7fdac0c51999be2d (patch) | |
tree | 57451f084310621d1169f6da3cedff4ae32a5dc1 /src/dewford_trend.c | |
parent | 3372993a6361e9417f016046caa8629254b84ba6 (diff) |
Wrap asm statements in NONMATCHING
Diffstat (limited to 'src/dewford_trend.c')
-rw-r--r-- | src/dewford_trend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dewford_trend.c b/src/dewford_trend.c index 9c5e69d99..e3b98859c 100644 --- a/src/dewford_trend.c +++ b/src/dewford_trend.c @@ -225,7 +225,9 @@ void TrendyPhraseIsOld(void) if (gSaveBlock1Ptr->easyChatPairs[0].unk0_0 - gSaveBlock1Ptr->easyChatPairs[1].unk0_0 < 2) { - asm("":::"r2"); //Force the compiler to store address of gSaveBlock1 in r3 instead of r2 + #ifndef NONMATCHING + asm("":::"r2"); //Force the compiler to store address of gSaveBlock1 in r3 instead of r2 + #endif if (!gSaveBlock1Ptr->easyChatPairs[0].unk1_6 && gSaveBlock1Ptr->easyChatPairs[1].unk1_6) result = 1; } |