aboutsummaryrefslogtreecommitdiff
path: root/src/interrupts.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-12 22:12:40 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-12 22:12:40 +0100
commit276f2e430b4fff3323e2f359712c96f9f6103f77 (patch)
tree20cd72ca22f67cbf96afa30cafc10fb7e0eb325a /src/interrupts.s
parent9ae51a4c210b8f01718e21eda592c498715a642b (diff)
downloadjetpac.nes-276f2e430b4fff3323e2f359712c96f9f6103f77.tar.gz
jetpac.nes-276f2e430b4fff3323e2f359712c96f9f6103f77.zip
Join 'zp_moved_out' and 'zp_pause_toggle'
It was wasteful, and it was there just because of my lazyness. Let's be a bit less careless. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/interrupts.s')
-rw-r--r--src/interrupts.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interrupts.s b/src/interrupts.s
index 81709ed..2c78099 100644
--- a/src/interrupts.s
+++ b/src/interrupts.s
@@ -28,8 +28,8 @@
sta OAM::m_dma
;; Toggle pause message from the HUD.
- lda Driver::zp_pause_toggle
- beq @increase_rand
+ bit Driver::zp_flags
+ bvc @increase_rand
jsr Driver::hud_toggle_pause
@increase_rand: