blob: 058d896a4568dcb6234a5be9cb244c494d669898 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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;
}
}
|