diff options
| author | petrie911 <69443847+petrie911@users.noreply.github.com> | 2024-04-05 15:11:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 17:11:36 -0300 |
| commit | 126a55aa0eadaf8b2ed8f370cbba63368be7a964 (patch) | |
| tree | 3d1c9ff5d4ba097105a815659c3b87f9d36e3bed /src/sys/sys_timer.c | |
| parent | ac41c180a9e68d31d18cfc57b46032f4ccaa052a (diff) | |
Event Actor docs that kind of ballooned into a bunch of stuff (#200)
* stuff
* too much
* Torch commit
* torch again
Diffstat (limited to 'src/sys/sys_timer.c')
| -rw-r--r-- | src/sys/sys_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/sys_timer.c b/src/sys/sys_timer.c index 071c12ed..6e33932e 100644 --- a/src/sys/sys_timer.c +++ b/src/sys/sys_timer.c @@ -1,11 +1,11 @@ #include "sys.h" -TimerTask sTimerTasks[0x10]; +TimerTask sTimerTasks[16]; TimerTask* Timer_AllocateTask(void) { s32 i; - for (i = 0; i < 0x10; i++) { + for (i = 0; i < ARRAY_COUNT(sTimerTasks); i++) { if (!sTimerTasks[i].active) { return &sTimerTasks[i]; } |
