clear is-HGR-title-packed marker just before loading

syncs dc95de2c27
This commit is contained in:
4am 2023-11-13 15:43:31 -05:00
parent 73fe846f00
commit 2d49ce8f66

View File

@ -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