diff options
| author | Luke Street <luke.street@encounterpc.com> | 2023-09-10 00:42:26 -0400 |
|---|---|---|
| committer | Luke Street <luke.street@encounterpc.com> | 2023-09-10 00:48:55 -0400 |
| commit | adb95b135c3d7498eba29bbd9728d345eed5a407 (patch) | |
| tree | 655575b939c12067569263171b68c079b1a232c8 /src/SSystem/SComponent/c_counter.cpp | |
| parent | 81ac53f1317dafb3506ae3ed8b2820d40645c3c8 (diff) | |
Import project
Original repository: https://github.com/encounter/ww
Diffstat (limited to 'src/SSystem/SComponent/c_counter.cpp')
| -rw-r--r-- | src/SSystem/SComponent/c_counter.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/SSystem/SComponent/c_counter.cpp b/src/SSystem/SComponent/c_counter.cpp new file mode 100644 index 00000000..23e545f5 --- /dev/null +++ b/src/SSystem/SComponent/c_counter.cpp @@ -0,0 +1,20 @@ +// +// 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++; +} |
