diff --git a/include/common.h b/include/common.h index e69de29b..9c1f2f3d 100644 --- a/include/common.h +++ b/include/common.h @@ -0,0 +1,14 @@ +typedef signed char s8; +typedef signed short s16; +typedef signed int s32; +typedef signed long long s64; +typedef unsigned char u8; +typedef unsigned short u16; +typedef unsigned int u32; +typedef unsigned long long u64; + +#define true 1 +#define false 0 +#define bool s32 + +#define NULL 0 \ No newline at end of file diff --git a/src/main/7B20.c b/src/main/7B20.c index 9cc19a92..7c7f2d3b 100644 --- a/src/main/7B20.c +++ b/src/main/7B20.c @@ -10,7 +10,9 @@ #pragma GLOBAL_ASM("asm/us/nonmatchings/main/7B20/func_80007068.s") -#pragma GLOBAL_ASM("asm/us/nonmatchings/main/7B20/func_8000707C.s") +void func_8000707C(s32* arg0, s32 arg1) { + *arg0 = arg1; +} #pragma GLOBAL_ASM("asm/us/nonmatchings/main/7B20/func_80007088.s")