Files
TakaRikka a7edd19f16 MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)
* cleanup SSystem files

* MSL_C fully matched

* fix build

* remove asm

* reorganize MSL_C/Runtime libs into more accurate setup

* little more cleanup

* cleanup some MSL headers

* obj_rgate OK

* remove asm

* some rgate documentation
2023-12-25 17:31:05 +02:00

22 lines
530 B
C++

/**
* c_counter.cpp
*
*/
#include "SSystem/SComponent/c_counter.h"
/* ############################################################################################## */
/* 80430CD8-80430CE8 000C+04 s=1 e=12 z=22 None .bss g_Counter */
counter_class g_Counter;
/* 80265E1C-80265E64 0048+00 s=0 e=1 z=0 None .text cCt_Counter__Fi */
void cCt_Counter(int resetCounter1) {
if (resetCounter1 == 1) {
g_Counter.mCounter1 = 0;
} else {
g_Counter.mCounter1++;
}
g_Counter.mCounter0++;
}