From 0e7f634b00f904ac29088f3b7fdac0c51999be2d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Tue, 18 Aug 2020 08:11:25 -0400 Subject: Wrap asm statements in NONMATCHING --- src/frontier_pass.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/frontier_pass.c') 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; } -- cgit v1.2.3