aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:42:38 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:42:38 +0100
commita0ef7b9c4d341de3f3f518626c40576e45cbf244 (patch)
tree590c04995b1bcaf2cb91728bc1ce0b84ba211b70 /src/jetpac.s
parent58b0af791a8f6a704e4f066dfa187180ae1c8514 (diff)
downloadjetpac.nes-a0ef7b9c4d341de3f3f518626c40576e45cbf244.tar.gz
jetpac.nes-a0ef7b9c4d341de3f3f518626c40576e45cbf244.zip
Don't skip the title page on a DEV build
Just bumping up timers is enough, and we don't get weird "this does not load _exactly_ as the final game" situations. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/jetpac.s')
-rw-r--r--src/jetpac.s21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/jetpac.s b/src/jetpac.s
index 5fdd01f..685c317 100644
--- a/src/jetpac.s
+++ b/src/jetpac.s
@@ -163,21 +163,12 @@
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.
- .ifdef PARTIAL
- jsr Driver::switch
-
- lda PPU::zp_control
- sta PPU::m_control
- .else
- jsr Title::init
-
- lda #%10001000
- sta PPU::zp_control
- sta PPU::m_control
- .endif
+ ;; We shadow the PPU control register in memory. Otherwise we go into the
+ ;; title as expected.
+ jsr Title::init
+ lda #%10001000
+ sta PPU::zp_control
+ sta PPU::m_control
cli