Files
dusklight/src/SSystem/SComponent/c_counter.cpp
T
TakaRikka dfa8efa97b project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00

19 lines
279 B
C++

/**
* c_counter.cpp
*
*/
#include "SSystem/SComponent/c_counter.h"
counter_class g_Counter;
void cCt_Counter(int resetCounter1) {
if (resetCounter1 == 1) {
g_Counter.mCounter1 = 0;
} else {
g_Counter.mCounter1++;
}
g_Counter.mCounter0++;
}