Files
mm/src/code/z_debug.c
T
Anghelo Carvajal 496b4928ea Rename GameInfo to RegEditor (#1178)
* Rename RegEditor and move it to regs.h

* bring over some minor doc from oot

* add missing include

* Update tools/disasm/variables.txt

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* update comment

* bss

---------

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-03-08 23:53:38 -05:00

22 lines
455 B
C

#include "regs.h"
#include "system_malloc.h"
#include "macros.h"
RegEditor* gRegEditor;
void Regs_Init(void) {
s32 i;
gRegEditor = SystemArena_Malloc(sizeof(RegEditor));
if (1) {}
gRegEditor->regPage = 0;
gRegEditor->regGroup = 0;
gRegEditor->regCur = 0;
gRegEditor->inputRepeatTimer = 0;
gRegEditor->dPadInputPrev = 0;
for (i = 0; i < ARRAY_COUNT(gRegEditor->data); i++) {
gRegEditor->data[i] = 0;
}
}