From 8885ef58c79e48f8f45ab8d5d17e7b5402a11b37 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 6 Jun 2022 02:23:53 -0400 Subject: [PATCH] skip unnecessary clear when skipping filtered attract module --- src/ui.attract.mode.a | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui.attract.mode.a b/src/ui.attract.mode.a index 8cc0fea91..b2f83487e 100644 --- a/src/ui.attract.mode.a +++ b/src/ui.attract.mode.a @@ -34,7 +34,7 @@ MegaAttractMode jsr BlankHGR ; switch to HGR page 1 (once cleared) - jsr LoadIndexedFile ; load pre-parsed attract mode configuration data into $6000 +@next jsr LoadIndexedFile ; load pre-parsed attract mode configuration data into $6000 - !word $6000 !word kAttractModeIndexRecord @@ -65,7 +65,7 @@ MegaAttractMode tay lda gMegaAttractModeFilter ; do we want to display this module type and kAttractModeFilters, y - beq MegaAttractMode + beq @next + +LD16 @mname ; A/Y = address of module name jsr RunAttractModule