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, 3 insertions, 3 deletions
diff --git a/src/interrupts.s b/src/interrupts.s
index b5120b4..522ee9e 100644
--- a/src/interrupts.s
+++ b/src/interrupts.s
@@ -24,6 +24,9 @@
lda #$02
sta OAM::m_dma
+ ;; Increase the random seed.
+ inc Prng::zp_rand
+
;; Are we paused? If so skip timers, PAL handler and the likes.
lda #%00001000
and Globals::zp_flags
@@ -61,9 +64,6 @@
and #%00000001
bne @ppu_registers
- ;; Increase the random seed.
- inc Prng::zp_rand
-
;; Decrease title timer.
lda Title::zp_title_timer
beq @ppu_registers