Wrap asm statements in NONMATCHING

This commit is contained in:
GriffinR
2020-08-18 09:09:25 -04:00
parent 2455913e39
commit d8f858d04e
7 changed files with 61 additions and 17 deletions
+3 -1
View File
@@ -2159,7 +2159,9 @@ static void sub_805EE3C(u8 objectEventId, s16 x, s16 y)
#undef i
objectEvent = &gObjectEvents[objectEventId];
asm("":::"r5");
#ifndef NONMATCHING
asm("":::"r5");
#endif
subspriteTables = NULL;
graphicsInfo = GetObjectEventGraphicsInfo(objectEvent->graphicsId);
spriteFrameImage.size = graphicsInfo->size;