From 740044802d1617260c2ce6378ef77e84c263f1b1 Mon Sep 17 00:00:00 2001 From: mgcaret Date: Sat, 8 Apr 2017 14:43:31 -0700 Subject: [PATCH] allow disabling accelerator menu to actually build --- rom5x/B1_FD00_accel5x.s | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rom5x/B1_FD00_accel5x.s b/rom5x/B1_FD00_accel5x.s index a03c5ad..5141dd3 100644 --- a/rom5x/B1_FD00_accel5x.s +++ b/rom5x/B1_FD00_accel5x.s @@ -99,7 +99,11 @@ SWRTS2 = $C784 .endif .proc ACCEL bra accel1 - jmp AMENU +.if ::ACCMENU + jmp AMENU ; entry point for menu +.else + rts ; otherwise return to caller if they want menu +.endif accel1: php sei phy @@ -600,6 +604,6 @@ msg1 = ::amenu1 msg2 = ::amenu2 .endif .endproc ; AMENU -; check for run into vector area +; check for run into vector and ROM checksum area .assert * < $ffe0, error, "accel5x overran $ffe0" .endif