shave some bytes

This commit is contained in:
4am 2019-10-08 14:57:40 -04:00
parent 9a5330b6cc
commit 441a8f27f5
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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