summaryrefslogtreecommitdiff
path: root/src/frontier_pass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontier_pass.c')
-rw-r--r--src/frontier_pass.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontier_pass.c b/src/frontier_pass.c
index 024a954d1..adc02f90b 100644
--- a/src/frontier_pass.c
+++ b/src/frontier_pass.c
@@ -1239,7 +1239,9 @@ static void sub_80C6104(u8 cursorArea, u8 previousCursorArea)
if (!var)
{
- asm("":::"r4");
+ #ifndef NONMATCHING
+ asm("":::"r4");
+ #endif
if (previousCursorArea == CURSOR_AREA_NOTHING || previousCursorArea > CURSOR_AREA_CANCEL)
return;
}