From 2d49ce8f66bbb2f8e1582d9eb442de36e8f7b8f1 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 13 Nov 2023 15:43:31 -0500 Subject: [PATCH] clear is-HGR-title-packed marker just before loading syncs https://github.com/a2-4am/4cade/commit/dc95de2c27626c7a2606f00591e73c6e9b3bd13d --- src/ui.attract.hgr.a | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ui.attract.hgr.a b/src/ui.attract.hgr.a index 7d6acd7..97e1ac8 100644 --- a/src/ui.attract.hgr.a +++ b/src/ui.attract.hgr.a @@ -123,14 +123,15 @@ HGRTitleCallback @fname !word $FDFD ; SMC +ST16 @indexRecordPtr + lda #$00 + sta $5FFD + jsr LoadIndexedFile ; load HGR graphic at $4000 !word $4000 @indexRecordPtr !word $FDFD ; SMC lda $5FFD - stx $5FFD ; ensure that we won't find it again if next - ; file is really compressed cmp #$4C ; Check if screen hole now contains a JMP beq @noUnpack ; if so, file was not packed, so skip unpack jsr UnpackHGRTitle