[turbine/gba] Change isr to turbine_isr

This commit is contained in:
Gary Talent 2023-06-03 16:50:31 -05:00
parent c6706f743d
commit 1097990113
2 changed files with 5 additions and 5 deletions

View File

@ -37,9 +37,9 @@
.equ Int_cart, 32768 // cartridge removed
.global isr
.type isr, %function
isr:
.global turbine_isr
.type turbine_isr, %function
turbine_isr:
// read IE
ldr r0, =#REG_IE
ldrh r1, [r0] // r1 becomes IE value

View File

@ -11,7 +11,7 @@
#include "context.hpp"
#include "turbine.hpp"
extern "C" void isr();
extern "C" void turbine_isr();
namespace turbine {
@ -23,7 +23,7 @@ constexpr int TicksMs59ns = 65535 - (NanoSecond / MilliSecond) / 59.59;
extern volatile gba_timer_t g_timerMs;
static void initIrq() noexcept {
REG_ISR = isr;
REG_ISR = turbine_isr;
REG_IME = 1; // enable interrupts
}