Files
tp/libs/SSystem/SComponent/c_counter.cpp
T

23 lines
591 B
C++
Raw Normal View History

2021-03-29 00:10:25 +02:00
//
2021-03-28 22:49:05 +02:00
// Generated By: dol2asm
// Translation Unit: c_counter
2021-03-29 00:10:25 +02:00
//
2020-11-30 14:26:55 -08:00
2021-03-29 00:10:25 +02:00
#include "SSystem/SComponent/c_counter.h"
2021-03-28 22:49:05 +02:00
#include "dolphin/types.h"
2020-11-30 14:26:55 -08:00
2021-03-28 22:49:05 +02:00
/* ############################################################################################## */
2021-03-29 00:10:25 +02:00
/* 80430CD8-80430CE8 000C+04 s=1 e=12 z=22 None .bss g_Counter */
2021-03-30 23:55:16 +02:00
counter_class g_Counter;
2021-03-28 22:49:05 +02:00
2021-03-29 00:10:25 +02:00
/* 80265E1C-80265E64 0048+00 s=0 e=1 z=0 None .text cCt_Counter__Fi */
2021-03-30 23:55:16 +02:00
void cCt_Counter(int resetCounter1) {
if (resetCounter1 == 1) {
g_Counter.mCounter1 = 0;
} else {
g_Counter.mCounter1++;
}
g_Counter.mCounter0++;
2020-11-30 14:26:55 -08:00
}