summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d18d0de..7890a1a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -232,9 +232,9 @@ void InitIntrTable(const u32 *interrupt_table)
INTR_VECTOR = IntrMain_Buffer;
}
-u32 *sub_800B6E8(u32 r0)
+u32 *GetInterruptCallback(u32 index)
{
- return &gIntrTable[r0];
+ return &gIntrTable[index];
}
void *SetInterruptCallback(u32 index, void * new_callback)