Decompile func0f109038

This commit is contained in:
Ryan Dwyer
2020-11-06 23:28:18 +10:00
parent 5bf47ac2fd
commit f8d5a7455d
6 changed files with 70 additions and 144 deletions
+10
View File
@@ -2360,6 +2360,16 @@
#define PADFLAG_8000 0x8000
#define PADFLAG_10000 0x10000
#define PAKERROR_NOPAK 0
#define PAKERROR_SAVEFAILED 1
#define PAKERROR_LOADFAILED 2
#define PAKERROR_DELETEFAILED 3
#define PAKERROR_OUTOFMEMORY 4
#define PAKERROR_ALREADYLOADED 5
#define PAKERROR_PAKREMOVED 6
#define PAKERROR_PAKDAMAGED 7
#define PAKERROR_DELETENOTEFAILED 8
#define PATHFLAG_CIRCULAR 1
#define PATHFLAG_FLYING 2
#define PATHFLAG_04 4
+1 -1
View File
@@ -2,7 +2,7 @@
#define IN_GAME_DATA_01A3A0_H
#include <ultra64.h>
extern struct menudialog menudialog_1a410;
extern struct menudialog g_PakErrorMenuDialog;
extern u16 savelocations2[];
extern u16 iomessages2[];
extern u16 filetypenames[];
+2 -2
View File
@@ -12,7 +12,7 @@ u32 func0f1083b0(void);
void func0f1083d0(struct savelocation000 *arg0, s32 arg1);
char *pakMenuTextFailReason(struct menuitem *item);
char *pakMenuTextDeviceNameForError(struct menuitem *item);
void func0f10865c(u16 arg0);
void pakPushErrorDialog(u16 errno);
char *func0f1086b8(s32 arg0, s32 arg1, s32 arg2);
u32 func0f10876c(void);
char *pakMenuTextFileType(struct menuitem *item);
@@ -21,7 +21,7 @@ u32 func0f108a80(void);
void func0f108d8c(void);
char *pakMenuTextPleaseInsertOriginalPak(struct menuitem *item);
void func0f109038(s32 arg0);
u32 func0f1091e0(void);
bool func0f1091e0(s32 arg0, bool arg1);
bool func0f1094e4(struct savelocation_2d8 *arg0, s32 arg1, void *arg2);
void pakDeleteFile(void);
void func0f1097d0(s32 device);
+1 -1
View File
@@ -4499,7 +4499,7 @@ struct menu {
} data;
/*0xe30*/ u32 unke30;
/*0xe34*/ u16 unke34; // I/O error code
/*0xe34*/ u16 errno;
/*0xe38*/ struct savelocation000 *unke38;
/*0xe3c*/ u8 unke3c;
/*0xe3d*/ u8 unke3d;