From fa85e7cda5de980151ab71279b6a1bf2eca9b23f Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Mon, 20 Apr 2026 13:32:24 -0400 Subject: [n64-jp-1.1] __osMalloc.c matched (#1845) * match osmalloc * some names * format * Breakup osFree checks and move strings around * misc changes --- src/code/gamealloc.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/code/gamealloc.c') diff --git a/src/code/gamealloc.c b/src/code/gamealloc.c index 58894324b..e9be6beb0 100644 --- a/src/code/gamealloc.c +++ b/src/code/gamealloc.c @@ -5,7 +5,15 @@ void GameAlloc_Log(GameAlloc* this) { GameAllocEntry* iter = this->base.next; +#if MM_VERSION <= N64_JP_1_1 + (void)"this = %08x\n"; +#endif + while (iter != &this->base) { +#if MM_VERSION <= N64_JP_1_1 + (void)"ptr = %08x size = %d\n"; +#endif + iter = iter->next; } } -- cgit v1.2.3