aboutsummaryrefslogtreecommitdiff
path: root/src/interrupts.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/interrupts.s')
-rw-r--r--src/interrupts.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interrupts.s b/src/interrupts.s
index 522ee9e..e909d17 100644
--- a/src/interrupts.s
+++ b/src/interrupts.s
@@ -24,6 +24,12 @@
lda #$02
sta OAM::m_dma
+ ;; Toggle pause message from the HUD.
+ lda Driver::zp_pause_toggle
+ beq @increase_rand
+ jsr Driver::hud_toggle_pause
+
+@increase_rand:
;; Increase the random seed.
inc Prng::zp_rand