Decompile func0f117ce4

This commit is contained in:
Ryan Dwyer
2020-11-14 12:27:13 +10:00
parent 59028a7a4c
commit 9e8268767b
5 changed files with 77 additions and 79 deletions
+4
View File
@@ -26,6 +26,10 @@
#define TEXT(bankid, index) ((bankid << 9) | index)
#define VOLUME(volume) (volume > 0x5000 ? 0x5000 : volume)
// Macro to convert an ASCII character to N64 font code.
// N64 font code uses 0x0f for space, 0x10-0x19 for 0-9 and 0x1a-0x33 for A-Z.
#define N64CHAR(c) (c == ' ' ? 0x0f : (c >= 'A' && c <= 'Z' ? c - 0x27 : c - 0x20))
#define ROM_COMPANYCODE 0x3459
#define ROM_GAMECODE 0x4e504445 // "NPDE" in ASCII
+2 -2
View File
@@ -51,8 +51,8 @@ extern u32 g_PakDebugPakCache;
extern u32 g_PakDebugPakInit;
extern u32 g_PakDebugWipeEeprom;
extern u32 g_PakDebugCorruptMe;
extern u32 var80075cf8;
extern u32 var80075d08;
extern char g_PakNoteGameName[16];
extern char g_PakNoteExtName[4];
extern u8 var80075d10;
extern u32 var80075d18;
extern u32 var80075d2c;
+1 -1
View File
@@ -44,7 +44,7 @@ s32 func0f117b04(OSMesgQueue *mq, struct var800a3180 *arg1, s32 channel, s32 arg
s32 func0f117b4c(s32 arg0, s32 arg1, u8 operation, u32 address, u32 len, u8 *buffer);
s32 func0f117c0c(s32 arg0, s32 *arg1, s32 *arg2);
s32 func0f117c80(s32 arg0, s32 *arg1);
u32 func0f117ce4(void);
s32 func0f117ce4(s32 arg0, s32 arg1, OSPfsState *note);
u32 func0f117d90(u32 arg0, u16 arg1, u32 arg2, u32 arg3, u32 arg4, u32 arg5, u32 *arg6);
u32 func0f117e00(u32 arg0, u16 arg1, u32 arg2, u32 arg3, u32 arg4);
u32 func0f117e58(u32 arg0, u16 arg1, u32 arg2, u32 arg3, u32 arg4, u32 *arg5);
+1 -1
View File
@@ -3,7 +3,7 @@
#include <ultra64.h>
#include "types.h"
u32 func00050a00(void);
s32 func00050a00(s32 arg0, s32 arg1, OSPfsState *note);
u32 func00050be0(void);
u32 func00050d60(void);