mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-15 12:39:11 -04:00
adb95b135c
Original repository: https://github.com/encounter/ww
21 lines
391 B
C++
21 lines
391 B
C++
//
|
|
// Generated by dtk
|
|
// Translation Unit: c_counter.cpp
|
|
//
|
|
|
|
#include "SSystem/SComponent/c_counter.h"
|
|
#include "dolphin/types.h"
|
|
|
|
counter_class g_Counter;
|
|
|
|
/* 802449AC-802449F4 .text cCt_Counter__Fi */
|
|
void cCt_Counter(int resetCounter1) {
|
|
if (resetCounter1 == 1) {
|
|
g_Counter.mCounter1 = 0;
|
|
} else {
|
|
g_Counter.mCounter1++;
|
|
}
|
|
|
|
g_Counter.mCounter0++;
|
|
}
|