summaryrefslogtreecommitdiff
path: root/src/code/m_malloc.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-08-28 09:59:31 -0700
committerGitHub <noreply@github.com>2023-08-28 09:59:31 -0700
commit1e3511efea9cf4379a04fca77f6a00cb170da28c (patch)
tree7650c04105d35d867939d19e3421102ae511102f /src/code/m_malloc.c
parentfcfbb6c52feec4a01b46f0c2bcc037af373d4fe9 (diff)
Fault + Fault_drawer (#77)
* Fault OK * fault_drawer OK * Cleanup * Cleanup pt 2 * Forgot to save * PR
Diffstat (limited to 'src/code/m_malloc.c')
-rw-r--r--src/code/m_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/m_malloc.c b/src/code/m_malloc.c
index a63ac74..69a20b1 100644
--- a/src/code/m_malloc.c
+++ b/src/code/m_malloc.c
@@ -42,11 +42,11 @@ s32 zelda_CheckArena(void) {
void zelda_InitArena(void* heap, size_t size) {
__osMallocInit(&zelda_arena, heap, size);
- Fault_AddClient(&B_80141FC8_jp, (void*)ArenaImpl_FaultClient, &zelda_arena, NULL);
+ fault_AddClient(&B_80141FC8_jp, (void*)ArenaImpl_FaultClient, &zelda_arena, NULL);
}
void zelda_CleanupArena(void) {
- Fault_RemoveClient(&B_80141FC8_jp);
+ fault_RemoveClient(&B_80141FC8_jp);
__osMallocCleanup(&zelda_arena);
}