Skip to content

Commit

Permalink
the asm runtime handler should be in iwram, not in rom.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Sep 16, 2024
1 parent 5269101 commit 18e41e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asm_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18e41e4

Please sign in to comment.