mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-22 22:33:41 +00:00
shave some bytes
This commit is contained in:
parent
9a5330b6cc
commit
441a8f27f5
@ -9,7 +9,7 @@
|
||||
; D000..E611 - persistent data structures (per-game cheat categories,
|
||||
; gGlobalPrefsStore, gGamesListStore)
|
||||
; ...unused...
|
||||
; EC24..FFF9 - main program code
|
||||
; EC25..FFF9 - main program code
|
||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||
;
|
||||
; LC RAM BANK 2
|
||||
|
@ -12,7 +12,7 @@ SHRSlideshow
|
||||
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
||||
and #SUPPORTS_SHR
|
||||
bne +
|
||||
- rts
|
||||
SHRRTS rts
|
||||
+ jsr LoadSHRTransition
|
||||
jsr okvs_iter
|
||||
!word gSlideshowStore
|
||||
@ -23,7 +23,7 @@ SHRSingle
|
||||
+STAY +
|
||||
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
||||
and #SUPPORTS_SHR
|
||||
beq -
|
||||
beq SHRRTS
|
||||
jsr BlankSHR
|
||||
jsr LoadFile
|
||||
!word kRootDirectory
|
||||
@ -62,16 +62,15 @@ LoadSHRTransition
|
||||
;------------------------------------------------------------------------------
|
||||
SHRArtworkCallback
|
||||
bit KBD
|
||||
bpl +
|
||||
- rts
|
||||
+
|
||||
bmi SHRRTS
|
||||
|
||||
+STAY @sfname
|
||||
|
||||
jsr GetGameInfo
|
||||
; if game is not found (C will be set here), it means it can't be played on
|
||||
; this machine due to memory or joystick requirements, so we don't display
|
||||
; it in slideshows
|
||||
bcs -
|
||||
bcs SHRRTS
|
||||
stx gGameToLaunch
|
||||
|
||||
jsr BlankSHR
|
||||
|
Loading…
x
Reference in New Issue
Block a user