mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 23:05:08 -04:00
c44e26a143
* __osRealloc * match __osCheckArena * cleanup * Import bss, unreferenced strings and cleanup * format * Reviews * Move convert.h to ultra64/ * Make the os_malloc.h header * potato * renames and fixes * format * small doc pass } * format * minor changes * Introduce system_malloc.h * Docs pass * fix * format * stuff * Apply suggestions from code review Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * review * format * remove repeated sentence * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * include headers * review * Rename __osMallocAddHeap * remove @brief * Update src/boot_O2/__osMalloc.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
21 lines
410 B
C
21 lines
410 B
C
#include "global.h"
|
|
#include "system_malloc.h"
|
|
|
|
GameInfo* gGameInfo;
|
|
|
|
void GameInfo_Init(void) {
|
|
s32 i;
|
|
|
|
gGameInfo = SystemArena_Malloc(sizeof(GameInfo));
|
|
if (1) {}
|
|
gGameInfo->unk_00 = 0;
|
|
gGameInfo->unk_01 = 0;
|
|
gGameInfo->unk_02 = 0;
|
|
gGameInfo->unk_04 = 0;
|
|
gGameInfo->unk_03 = 0;
|
|
|
|
for (i = 0; i < ARRAY_COUNT(gGameInfo->data); i++) {
|
|
gGameInfo->data[i] = 0;
|
|
}
|
|
}
|