[nostalgia/core/gba] Re-order interrupt table to hit more common interrupt first

This commit is contained in:
Gary Talent 2020-07-25 23:12:48 -05:00
parent 2e80bf8bbd
commit 4ad959cd74

View File

@ -64,14 +64,14 @@ isr:
// Interrupt Table Begin // // Interrupt Table Begin //
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
cmp r1, #Int_vblank
ldreq r0, =nostalgia_core_isr_vblank
beq isr_call_handler
cmp r1, #Int_timer0 cmp r1, #Int_timer0
ldreq r0, =nostalgia_core_isr_timer0 ldreq r0, =nostalgia_core_isr_timer0
beq isr_call_handler beq isr_call_handler
cmp r1, #Int_vblank
ldreq r0, =nostalgia_core_isr_vblank
beq isr_call_handler
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
// Interrupt Table End // // Interrupt Table End //
//////////////////////////////////////////////////// ////////////////////////////////////////////////////