From a0ef7b9c4d341de3f3f518626c40576e45cbf244 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 11 Mar 2026 23:42:38 +0100 Subject: Don't skip the title page on a DEV build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- src/driver.s | 2 +- src/jetpac.s | 21 ++++++--------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/driver.s b/src/driver.s index 903c2da..7404b94 100644 --- a/src/driver.s +++ b/src/driver.s @@ -8,7 +8,7 @@ ;; never conflict with each other. zp_player_timer = $30 ; asan:ignore PLAYER_TIMER_FULL_VALUE = HZ * 3 - PLAYER_TIMER_DEV_VALUE = HZ / 2 + PLAYER_TIMER_DEV_VALUE = HZ / 4 .ifdef PARTIAL PLAYER_TIMER_VALUE = PLAYER_TIMER_DEV_VALUE .else 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 -- cgit v1.2.3