Delete files without any decompiled functions

Merge some existing decompiled functions into it's actual c file
This commit is contained in:
gijs 2023-09-29 11:35:16 +02:00
parent 9d2e65d8fb
commit cf67e12f81
4 changed files with 28 additions and 83 deletions

View File

@ -1,33 +0,0 @@
#include "common.h"
u8 D_80187020;
u8 __compared_osTvType;
/* 42C30 8016CD30 */
u8 __get_compared_osTvType(void) {
return D_80187020;
}
/* 42C3C 8016CD3C */
u8 __reset_compared_osTvType(void) {
u8 temp_v0;
temp_v0 = __compared_osTvType;
__compared_osTvType = 0;
return temp_v0;
}
/* 42C50 8016CD50 */
void func_8016CD50(u8 arg0) {
D_80187020 = arg0;
}
/* 42C5C 8016CD5C */
void __inc_compared_osTvType(u8 arg0) {
if (D_80187020 != arg0) {
__compared_osTvType = arg0 + 1;
}
D_80187020 = arg0;
}

View File

@ -1,5 +0,0 @@
#include "common.h"
INCLUDE_ASM(const s32, "45AE0", func_8016FBE0);
INCLUDE_ASM(const s32, "45AE0", func_8016FCEC);

View File

@ -1,41 +0,0 @@
#include <PR/gbi.h>
#include "common.h"
INCLUDE_ASM(const s32, "49A30", func_80173B30);
INCLUDE_ASM(const s32, "49A30", func_80173B40);
INCLUDE_ASM(const s32, "49A30", func_80173B50);
INCLUDE_ASM(const s32, "49A30", func_80173B60);
INCLUDE_ASM(const s32, "49A30", func_80173BA0);
INCLUDE_ASM(const s32, "49A30", func_80173BE0);
INCLUDE_ASM(const s32, "49A30", func_80173C54);
INCLUDE_ASM(const s32, "49A30", func_80173D14);
INCLUDE_ASM(const s32, "49A30", func_80173D4C);
INCLUDE_ASM(const s32, "49A30", func_80173D84);
INCLUDE_ASM(const s32, "49A30", func_80173DBC);
INCLUDE_ASM(const s32, "49A30", func_80174138);
INCLUDE_ASM(const s32, "49A30", func_80174250);
INCLUDE_ASM(const s32, "49A30", func_801758C0);
INCLUDE_ASM(const s32, "49A30", func_801768D4);
INCLUDE_ASM(const s32, "49A30", func_80176948);
INCLUDE_ASM(const s32, "49A30", func_80176C6C);
INCLUDE_ASM(const s32, "49A30", func_80176F90);
INCLUDE_ASM(const s32, "49A30", func_801772C0);

View File

@ -1,9 +1,33 @@
#include "common.h" #include "common.h"
INCLUDE_ASM(const s32, "segment_obdata/_ob_ugliest_snow", __get_compared_osTvType); extern u8 D_80187020;
extern u8 __compared_osTvType;
INCLUDE_ASM(const s32, "segment_obdata/_ob_ugliest_snow", __reset_compared_osTvType); /* 42C30 8016CD30 */
u8 __get_compared_osTvType(void) {
return D_80187020;
}
/* 42C3C 8016CD3C */
u8 __reset_compared_osTvType(void) {
u8 temp_v0;
temp_v0 = __compared_osTvType;
__compared_osTvType = 0;
return temp_v0;
}
/* 42C50 8016CD50 */
void func_8016CD50(u8 arg0) {
D_80187020 = arg0;
}
/* 42C5C 8016CD5C */
void __inc_compared_osTvType(u8 arg0) {
if (D_80187020 != arg0) {
__compared_osTvType = arg0 + 1;
}
D_80187020 = arg0;
}
INCLUDE_ASM(const s32, "segment_obdata/_ob_ugliest_snow", func_8016CD50);
INCLUDE_ASM(const s32, "segment_obdata/_ob_ugliest_snow", __inc_compared_osTvType);