summaryrefslogtreecommitdiff
path: root/src/code/speed_meter.c
diff options
context:
space:
mode:
authorRoman971 <romanlasnier@hotmail.com>2020-03-22 22:19:43 +0100
committerRoman971 <romanlasnier@hotmail.com>2020-03-22 22:20:03 +0100
commit8cfe7cce9f8d8abea794e67510879e751d373a87 (patch)
treec6c46f34d3575f6dc02b98b2b5f5ad88d2b2c64e /src/code/speed_meter.c
parent251aea64ab3e6e8cd6f1d9ed34f514e656724777 (diff)
Format all src C files
Diffstat (limited to 'src/code/speed_meter.c')
-rw-r--r--src/code/speed_meter.c24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/code/speed_meter.c b/src/code/speed_meter.c
index 3c5cecf9c..ec5e93b07 100644
--- a/src/code/speed_meter.c
+++ b/src/code/speed_meter.c
@@ -1,36 +1,30 @@
#include <ultra64.h>
#include <global.h>
-typedef struct
-{
+typedef struct {
/* 0x00 */ char unk_00[0x18];
- /* 0x18 */ s32 unk_18;
- /* 0x1C */ s32 unk_1C;
+ /* 0x18 */ s32 unk_18;
+ /* 0x1C */ s32 unk_1C;
} struct_801664D0; // size = 0x20
extern struct_801664D0 D_801664D0;
-void func_800C9940(struct_801664D0* arg0, u32 arg1, u32 arg2)
-{
+void func_800C9940(struct_801664D0* arg0, u32 arg1, u32 arg2) {
LogUtils_CheckNullPointer("this", arg0, "../speed_meter.c", 181);
arg0->unk_18 = arg1;
arg0->unk_1C = arg2;
}
-void func_800C9998(struct_801664D0* arg0)
-{
+void func_800C9998(struct_801664D0* arg0) {
func_800C9940(arg0, 0x20, 0x16);
}
-void func_800C99BC(struct_801664D0* arg0)
-{
-
+void func_800C99BC(struct_801664D0* arg0) {
}
#pragma GLOBAL_ASM("asm/non_matchings/code/speed_meter/func_800C99C4.s")
-typedef struct
-{
+typedef struct {
/* 0x00 */ u32 unk_00;
/* 0x04 */ u32 unk_04;
/* 0x08 */ u16 unk_08;
@@ -41,8 +35,8 @@ typedef struct
/* 0x18 */ u32 unk_18;
} struct_800C9E08;
-void func_800C9E08(struct_800C9E08* arg0, u32 arg1, u32 arg2, u16 arg3, u16 arg4, u32 arg5, u32 arg6, u32 arg7, u32 arg8)
-{
+void func_800C9E08(struct_800C9E08* arg0, u32 arg1, u32 arg2, u16 arg3, u16 arg4, u32 arg5, u32 arg6, u32 arg7,
+ u32 arg8) {
arg0->unk_00 = arg1;
arg0->unk_04 = arg2;
arg0->unk_08 = arg3;