mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-02 09:39:48 -04:00
dfa8efa97b
* 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
19 lines
279 B
C++
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++;
|
|
}
|