From a9b13fdacb99ee80f707c0a8c6b91cd456aed7d1 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Sat, 23 Jan 2021 15:47:20 -0800 Subject: [PATCH] save-highscores: Add support for PAL --- save-highscores.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/save-highscores.s b/save-highscores.s index bbb1053..b9dcba7 100644 --- a/save-highscores.s +++ b/save-highscores.s @@ -21,6 +21,7 @@ INES_SRAM = 1 ; 1 = battery backed SRAM at $6000-7FFF ; patch to load from SRAM (and use a length instead of a terminator) .segment "initHighScoreTable_patch" + ; Address happens to be same for PAL ips_segment "initHighScoreTable_patch",$8095 ; initHighScoreTable_patch: @@ -31,7 +32,7 @@ initHighScoreTable: ; start button patch to add saving .segment "saveHighscoreStartPressed_patch" - ips_segment "saveHighscoreStartPressed_patch",$A295 + ips_segment "saveHighscoreStartPressed_patch",highScoreEntryScreen+$94 ; $A295 ; saveHighscoreStartPressed_patch: jmp saveHighScores @@ -49,4 +50,4 @@ saveHighScores: inx cpx #$51 bne @loop - jmp $A337 + jmp highScorePosToY-4 ; @ret := $A337