[turbine/gba] Change isr to turbine_isr
This commit is contained in:
parent
c6706f743d
commit
1097990113
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user