From 18e41e41d59eee420dc639aaacdc5e7d9fe1f726 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Mon, 16 Sep 2024 14:51:11 -0600 Subject: [PATCH] the asm runtime handler should be in iwram, not in rom. --- src/asm_runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm_runtime.rs b/src/asm_runtime.rs index 35ec964..a31ca98 100644 --- a/src/asm_runtime.rs +++ b/src/asm_runtime.rs @@ -126,7 +126,7 @@ core::arch::global_asm! { // This handler DOES NOT allow nested interrupts at this time. core::arch::global_asm! { - bracer::put_fn_in_section!(".text.gba_rom_header"), + bracer::put_fn_in_section!(".iwram.__runtime_irq_handler"), ".global __runtime_irq_handler", // On Entry: r0 = 0x0400_0000 (mmio_base) // We're allowed to use the usual C ABI registers.