fix: Add missing function declarations

This commit is contained in:
Diamond Lewis 2023-08-23 14:03:19 -05:00
parent aeab7785b9
commit a60f1c2a59
4 changed files with 32 additions and 0 deletions

View File

@ -6,6 +6,11 @@ extern s32 D_80068B90;
extern u8 D_80104BB0[];
extern s32 D_800A60B0;
void func_80003860(void);
s32 func_80002A40(s32, s32);
void func_80002BD0(s32, void *); // type unknown
s32 func_80007A58(void);
uintptr_t func_80002E80(uintptr_t addr) {
uintptr_t retaddr = 0x00000000;

View File

@ -1,3 +1,4 @@
#include <PR/os_internal_reg.h>
#include "ultra64.h"
#include "dp_intro.h"
@ -21,6 +22,19 @@ extern OSThread D_800A8480;
extern u8 D_800AA660[];
s32 func_800484E0(void);
void func_80009210(void);
void func_800373D8(void);
void func_8004FD44(void);
void func_8004B1CC();
void func_8004B9C4();
void func_80037340(void *);
void func_8004FCD8(s32);
void func_8003D4A0(s32);
void func_8004AF24(s32);
void func_8004FD64(s32);
void func_8004AE90(s32, s32);
void func_8000D1C0(void) {
}

View File

@ -1,6 +1,9 @@
#include <ultra64.h>
#include <PR/os_internal_reg.h>
#include "dp_intro.h"
#include "fragments.h"
#include "intro_loader.h"
#include "dp_intro.h"
struct UnkInputStruct8000D738 {
s32 unk0;
@ -37,6 +40,15 @@ void func_81206D9C(void);
void func_81206E64(void);
void func_81206F38(void);
// from 3A80.c
extern uintptr_t func_80002E80(uintptr_t addr);
void func_80005370(struct UnkStruct800AA660 *);
void func_80004454(u32, void *, void *);
char func_8000B318(char);
s32 func_800044F4(void *, void *, s32, s32);
s32 func_8000484C(s32, s32);
void func_8000D5C0(void* unused) {
void (*func)(void *) = func_80002E80(&func_81206F38);

View File

@ -12,5 +12,6 @@ extern struct UnkStruct800A62E0 D_800A62E0;
void func_80001474(s8, s8);
void func_800019C8(void);
void func_80001C64(void);
#endif /* _SRC_DP_INTRO_H_ */