diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2026-04-20 13:32:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-20 10:32:24 -0700 |
| commit | fa85e7cda5de980151ab71279b6a1bf2eca9b23f (patch) | |
| tree | 0ac0d5119e4aec4f965f31fd1991232a3c437965 /src/code/gamealloc.c | |
| parent | ffc67c3e0adf8fbc81618299a68b52efe31dd08b (diff) | |
[n64-jp-1.1] __osMalloc.c matched (#1845)
* match osmalloc
* some names
* format
* Breakup osFree checks and move strings around
* misc changes
Diffstat (limited to 'src/code/gamealloc.c')
| -rw-r--r-- | src/code/gamealloc.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; } } |
