mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-17 18:30:41 +00:00
move games list, suppress CR, rebuild store after anim, don't show text page 2
This commit is contained in:
parent
3df2664149
commit
e156bf92ad
@ -122,7 +122,7 @@ gFXStore
|
||||
gDFXStore
|
||||
!word $6000
|
||||
gSearchStore
|
||||
!word $8000
|
||||
!word $8200
|
||||
gSlideshowStore
|
||||
!word $0800
|
||||
gGlobalPrefsStore
|
||||
|
@ -360,10 +360,10 @@ CopyDevs
|
||||
+LDAY SRC ; (SRC) points to free space after the OKVS data structure we just created
|
||||
+STAY gGamesListStore ; save pointer to free space for next store
|
||||
|
||||
jsr LoadFile ; load games list file into $8000
|
||||
jsr LoadFile ; load games list file into $8200
|
||||
!word kRootDirectory
|
||||
!word @kGameListConfFile
|
||||
- !word $8000
|
||||
- !word $8200
|
||||
jsr ParseGamesList ; parse games list into OKVS data structure in LC RAM bank
|
||||
!word gGamesListStore
|
||||
!word -
|
||||
|
@ -131,5 +131,7 @@ IncAndGetChar
|
||||
bne +
|
||||
inc $FF
|
||||
+ lda ($FE),y
|
||||
cmp #$0D ; CR - hide it
|
||||
beq IncAndGetChar
|
||||
.parseKeyValueDone
|
||||
rts
|
||||
|
@ -60,6 +60,7 @@ MaybeAnimateTitle
|
||||
|
||||
jsr Launch ; execute the animation
|
||||
|
||||
jsr BuildSearchStore
|
||||
jsr ResyncPage ; we don't know which HGR page is showing
|
||||
; when the animation returns, so resync
|
||||
; the current one with our OffscreenPage
|
||||
|
@ -102,6 +102,7 @@ SearchMode
|
||||
stx gGameToLaunch ; $FF = no game selected
|
||||
jsr BuildSearchStore
|
||||
jsr Home ; clear screen (switches to text mode)
|
||||
stx OffscreenPage ; don't show text page 2 by accident
|
||||
jsr OnInputChanged ; draw UI offscreen
|
||||
jsr HGRMode ; show HGR screen
|
||||
jsr ResyncPage
|
||||
|
Loading…
x
Reference in New Issue
Block a user