fix display of unpacked titles in SS mode

This commit is contained in:
Peter Ferrie 2022-07-29 17:30:56 -07:00
parent 9576a45951
commit e88da4bf73
2 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,7 @@
; ...unused...
; E000..E3FF - HGR font data
; ...unused...
; E73A..FFEB - main program code
; E730..FFEB - main program code
; FFEC..FFF9 - API functions and global constants available for main program
; code, prelaunchers, transition effects, &c.
; (LoadFileDirect, Wait/UnwaitForVBL, MockingboardStuff, MachineStatus)

View File

@ -128,7 +128,13 @@ HGRTitleCallback
@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
@noUnpack
jmp ExecuteTransitionAt6000AndWait
;------------------------------------------------------------------------------