This commit is contained in:
4am 2019-10-08 13:22:29 -04:00
parent 28a0a83980
commit 436522857a
6 changed files with 11 additions and 11 deletions

View File

@ -4,8 +4,8 @@
; Functions to launch games and self-running demos
;
; Public functions
; - GetGameDisplayName
; - GetGameDisplayNameInActionSlideshow
; - GetGameInfo
; - GetGameInfoInActionSlideshow
; - PlayGame
; - Launch
;
@ -13,7 +13,7 @@
; - gGameToLaunch - 0-based index into gGamesListStore
;
GetGameDisplayName
GetGameInfo
; in: A/Y points to game filename
; out: C clear if game exists in gGamesListStore, and
; A/Y points to game display name (but see hack notes below)
@ -26,7 +26,7 @@ GetGameDisplayName
; joystick)
ldx #$60
+HIDE_NEXT_2_BYTES
GetGameDisplayNameInActionSlideshow
GetGameInfoInActionSlideshow
ldx #$EA
stx @maybeExit
+STAY @key

View File

@ -100,7 +100,7 @@ DHGRTitleCallback
+STAY +
jsr GetGameDisplayName
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
@ -133,7 +133,7 @@ DHGRActionCallback
+STAY +
jsr GetGameDisplayNameInActionSlideshow
jsr GetGameInfoInActionSlideshow
; if game name is not found (C will be set here), it means the game
; can't be played due to memory or joystick requirements, so we hide
; it from slideshows

View File

@ -85,7 +85,7 @@ BlankGR
+STAY +
jsr GetGameDisplayNameInActionSlideshow
jsr GetGameInfoInActionSlideshow
; if game name is not found (C will be set here), it means the game
; can't be played due to memory or joystick requirements, so we hide
; it from slideshows

View File

@ -88,7 +88,7 @@ HGRTitleCallback
+STAY +
jsr GetGameDisplayName
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
@ -121,7 +121,7 @@ HGRActionCallback
+STAY +
jsr GetGameDisplayNameInActionSlideshow
jsr GetGameInfoInActionSlideshow
; if game name is not found (C will be set here), it means the game
; can't be played due to memory or joystick requirements, so we hide
; it from slideshows

View File

@ -143,7 +143,7 @@ RunAttractModule
; language card or auxiliary memory.
+LDAY @key
jsr GetGameDisplayName
jsr GetGameInfo
bcc + ; if game doesn't exist, skip the demo
rts
+

View File

@ -67,7 +67,7 @@ SHRArtworkCallback
+
+STAY @sfname
jsr GetGameDisplayName
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