summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-01-09 04:59:03 -0800
committerGitHub <noreply@github.com>2024-01-09 07:59:03 -0500
commitcd917b0cb8c20e457d43805ee27d2597daed63e3 (patch)
tree6506a87bb08252072ca10e6993f64f2b475fca09 /src/code/z_debug.c
parente146d7bc2642633f8b09357c115014a3dfca59da (diff)
Create debug macros for common functions (#1597)
* Create debug macros for common functions * Revert NDEBUG change * MALLOCR -> MALLOC_R * DEBUG -> OOT_DEBUG * Use the same name for debug and non-debug matrix functions * Fix file/line argument order * Revert g[s]DPNoOp[Tag] * Use SystemArena_MallocDebug directly in GameAlloc_MallocDebug * MTXF_TO_MTX -> MATRIX_TO_MTX
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index bc46c5a72..9581ec854 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -97,7 +97,7 @@ char sRegGroupChars[REG_GROUPS] = {
void Regs_Init(void) {
s32 i;
- gRegEditor = SystemArena_MallocDebug(sizeof(RegEditor), "../z_debug.c", 260);
+ gRegEditor = SYSTEM_ARENA_MALLOC(sizeof(RegEditor), "../z_debug.c", 260);
gRegEditor->regPage = 0;
gRegEditor->regGroup = 0;
gRegEditor->regCur = 0;