mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-28 03:29:59 +00:00
don't always clear keyboard strobe or reset OffscreenPage when entering SearchMode
allows hitting a key during a screenshot to start a search
This commit is contained in:
parent
339c0ed700
commit
f1cbdd0aef
@ -114,7 +114,8 @@ MiniAttractMode
|
||||
inc @MiniAttractIndex
|
||||
lda KBD
|
||||
bpl @loop
|
||||
@exit rts
|
||||
@exit bit CLEARKBD
|
||||
rts
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; RunAttractModule
|
||||
|
@ -19,7 +19,7 @@
|
||||
;
|
||||
|
||||
OffscreenPage
|
||||
!byte 1 ; 0 = currently showing HGR page 2
|
||||
!byte 0 ; 0 = currently showing HGR page 2
|
||||
; (so offscreen is page 1 @ $2000)
|
||||
; 1 = currently showing HGR page 1
|
||||
; (so offscreen is page 2 @ $4000)
|
||||
|
@ -37,12 +37,10 @@ SearchMode
|
||||
ldx #$FF
|
||||
txs
|
||||
stx gGameToLaunch ; $FF = no game selected
|
||||
inx
|
||||
stx OffscreenPage ; $00 = currently showing HGR page 2
|
||||
jsr Home ; clear screen (switches to text mode)
|
||||
jsr OnInputChanged ; draw UI on HGR page 1
|
||||
jsr OnInputChanged ; draw UI offscreen
|
||||
jsr HGRMode ; show HGR screen
|
||||
bit CLEARKBD
|
||||
jsr ResyncPage
|
||||
|
||||
.SearchModeInputLoop
|
||||
jsr WaitForKeyFor30Seconds
|
||||
|
Loading…
Reference in New Issue
Block a user