From 4ad959cd7408cb5f3def694dfa4491ca88f77756 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 25 Jul 2020 23:12:48 -0500 Subject: [PATCH] [nostalgia/core/gba] Re-order interrupt table to hit more common interrupt first --- src/nostalgia/core/gba/irq.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nostalgia/core/gba/irq.s b/src/nostalgia/core/gba/irq.s index fe784b43d..a6ee03c84 100644 --- a/src/nostalgia/core/gba/irq.s +++ b/src/nostalgia/core/gba/irq.s @@ -64,14 +64,14 @@ isr: // Interrupt Table Begin // //////////////////////////////////////////////////// - cmp r1, #Int_vblank - ldreq r0, =nostalgia_core_isr_vblank - beq isr_call_handler - cmp r1, #Int_timer0 ldreq r0, =nostalgia_core_isr_timer0 beq isr_call_handler + cmp r1, #Int_vblank + ldreq r0, =nostalgia_core_isr_vblank + beq isr_call_handler + //////////////////////////////////////////////////// // Interrupt Table End // ////////////////////////////////////////////////////