summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
blob: 5848dfa71e236ef0eea2df271294b6017885041f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "global.h"

GameInfo* gGameInfo;

void GameInfo_Init(void) {
    s32 i;

    gGameInfo = (GameInfo*)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;
    }
}