From 23e11794c1f6773c9da8dde63c536c1d7d644caf Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 25 May 2024 15:49:30 +0100 Subject: [PATCH] user lower priority interrupt for the interruptable interrupt --- agb/src/interrupt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agb/src/interrupt.rs b/agb/src/interrupt.rs index bca1ccf81..4e6b6aa21 100644 --- a/agb/src/interrupt.rs +++ b/agb/src/interrupt.rs @@ -390,8 +390,8 @@ mod tests { fn test_nested_interrupts(gba: &mut crate::Gba) { let mut timers = gba.timers.timers(); - let timer_a = &mut timers.timer2; - let timer_b = &mut timers.timer3; + let timer_a = &mut timers.timer3; + let timer_b = &mut timers.timer2; timer_a.set_interrupt(true); timer_a.set_overflow_amount(10000);