summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_counter.cpp
blob: 23e545f5e32906c0fc2982f9da9029b50b50aca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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++;
}