From 041a3b92b967499740ad1c4d4c9a8fbe8821bc2e Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 24 Sep 2019 16:01:03 -0400 Subject: [PATCH] . --- src/glue.launch.a | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/glue.launch.a b/src/glue.launch.a index 13ca2a869..7842a8dfd 100644 --- a/src/glue.launch.a +++ b/src/glue.launch.a @@ -76,7 +76,7 @@ gGameToLaunch=*+1 jsr okvs_nth ; A/Y = address of game filename +STAY SAVE - +STAY @pfile + +STAY @pfile ; assume we're loading a game-specific prelaunch file jsr Home ; clear screen (clobbers $106, must do now before loading prelaunch code) lda #$20 ; clear both hi-res pages @@ -100,11 +100,10 @@ gGameToLaunch=*+1 @noCheats +LDADDR kStandardPrelaunch ; no game-specific prelaunch file, so +STAY @pfile ; load standard prelaunch file instead - @Cheats - jsr LoadFile ; cheats are enabled and this game has a prelaunch - !word kPrelaunchDirectory ; file that will set up the cheats, so load that -@pfile !word $FDFD ; SMC + jsr LoadFile ; if cheats are enabled and this game has a prelaunch + !word kPrelaunchDirectory ; file that will set up the cheats, load that, otherwise +@pfile !word $FDFD ; load the standard prelaunch file !word $0106 ldx #1 ; construct path to game's startup file