aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/jetpac.s')
-rw-r--r--src/jetpac.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jetpac.s b/src/jetpac.s
index 184374e..65b5d11 100644
--- a/src/jetpac.s
+++ b/src/jetpac.s
@@ -52,6 +52,12 @@
;; Initialize the assets for the game.
jsr Assets::init
+ ;; Initialize some PAL-specific constants.
+ .ifdef PAL
+ lda #0
+ sta Driver::zp_pal_counter
+ .endif
+
;; We shadow the PPU control register in memory. Depending on the `make`
;; target we might need to switch directly to the main game. Otherwise we go
;; into the title as expected.