mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
shave some bytes
This commit is contained in:
parent
1440df1c71
commit
cb1b6a8ff7
@ -9,7 +9,7 @@
|
||||
; D000..E611 - persistent data structures (per-game cheat categories,
|
||||
; gGlobalPrefsStore, gGamesListStore)
|
||||
; ...unused...
|
||||
; EBF2..FFF9 - main program code
|
||||
; EBF5..FFF9 - main program code
|
||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||
;
|
||||
; LC RAM BANK 2
|
||||
|
@ -7,6 +7,7 @@
|
||||
;
|
||||
|
||||
MaybeAnimateTitle
|
||||
; out: C clear
|
||||
lda OffscreenPage
|
||||
bne +
|
||||
lda #$5F
|
||||
@ -18,9 +19,7 @@ MaybeAnimateTitle
|
||||
ldy #0
|
||||
lda (SAVE),y ; see if there is a hidden JMP to an
|
||||
cmp #$4C ; animation routine for this screen
|
||||
beq +
|
||||
rts
|
||||
+
|
||||
bne @exit
|
||||
ldx #$20 ; copy new HGR screen to the other
|
||||
ldy #$40
|
||||
lda OffscreenPage
|
||||
@ -65,7 +64,7 @@ MaybeAnimateTitle
|
||||
|
||||
jsr Launch
|
||||
jsr ResyncPage
|
||||
clc ; tell caller not to refresh screen
|
||||
@exit clc ; tell caller not to refresh screen
|
||||
rts
|
||||
|
||||
@titleAnimPrelaunch
|
||||
|
@ -156,9 +156,7 @@ OnError
|
||||
@noload jsr DrawUI
|
||||
jsr SwitchToBank2
|
||||
jsr DisableAcceleratorAndSwitchToBank1
|
||||
jsr MaybeAnimateTitle
|
||||
clc
|
||||
rts
|
||||
jmp MaybeAnimateTitle
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; IsSearchKey
|
||||
|
Loading…
Reference in New Issue
Block a user