Wrap asm statements in NONMATCHING
This commit is contained in:
1 parent
3372993a63
commit
0e7f634b00
13 files changed
+59
-30
No files matched your search
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user