mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-29 02:30:44 -04:00
Decompile pakWipe
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ extern s32 *g_CoverRooms;
|
||||
extern struct covercandidate *g_CoverCandidates;
|
||||
extern u16 g_NumSpecialCovers;
|
||||
extern u16 *g_SpecialCoverNums;
|
||||
extern struct var800a2380 var800a2380[5];
|
||||
extern struct pak g_Paks[5];
|
||||
extern OSPfs g_Pfses[4];
|
||||
extern u32 var800a33a0;
|
||||
extern u32 var800a33a4;
|
||||
|
||||
@@ -2989,6 +2989,13 @@
|
||||
#define PADFLAG_8000 0x8000
|
||||
#define PADFLAG_10000 0x10000
|
||||
|
||||
#define PAKERROR_OK 0
|
||||
#define PAKERROR_EEPROM_MISSING 0x80
|
||||
#define PAKERROR_EEPROM_READFAILED 0x81
|
||||
#define PAKERROR_EEPROM_WRITEFAILED 0x82
|
||||
#define PAKERROR_EEPROM_INVALIDOP 0x83
|
||||
#define PAKERROR_EEPROM_INVALIDARG 0x84
|
||||
|
||||
#define PATHFLAG_CIRCULAR 1
|
||||
#define PATHFLAG_FLYING 2
|
||||
#define PATHFLAG_INUSE 4
|
||||
|
||||
@@ -8,7 +8,7 @@ u32 func0f1165d0(s8 device);
|
||||
u32 func0f1165f8(s8 device, u32 arg1);
|
||||
u32 func0f116658(s8 arg0, u32 arg1);
|
||||
u32 func0f116684(u32 arg0);
|
||||
u32 func0f11668c(s8 device);
|
||||
u32 pakGenerateSerial(s8 device);
|
||||
bool pakIsConnected(s8 device);
|
||||
s32 func0f1167b0(s8 device, u32 arg1, u32 *buffer1024);
|
||||
u32 func0f1167d8(s8 arg0);
|
||||
@@ -71,7 +71,7 @@ void func0f118ae4(u8 *arg0, u8 *arg1, u16 *arg2);
|
||||
s32 func0f118bc8(s8 arg0, s32 arg1, void *arg2, s32 arg3);
|
||||
s32 func0f118d18(s8 device, u32 arg1, u32 *buffer1024);
|
||||
s32 func0f1190bc(s8 device, s32 arg1, s32 *arg2);
|
||||
u32 func0f119298(s8 index);
|
||||
u32 func0f119298(s8 device);
|
||||
void func0f119340(u32 arg0);
|
||||
u32 func0f119368(s32 device, u32 arg1, struct pakthing16 *pakthing16);
|
||||
#if VERSION >= VERSION_NTSC_FINAL
|
||||
@@ -91,7 +91,7 @@ s32 func0f11a574(s8 device);
|
||||
u32 func0f11a7dc(void);
|
||||
u32 func0f11a8f4(void);
|
||||
u32 func0f11ac7c(void);
|
||||
void pakWipeEeprom(s32 arg0, s32 arg1, s32 arg2);
|
||||
void pakWipe(s8 device, u32 start, u32 end);
|
||||
u32 func0f11b178(void);
|
||||
u32 func0f11b488(void);
|
||||
void pakForceScrub(s32 arg0);
|
||||
@@ -116,8 +116,8 @@ u32 func0f11d214(void);
|
||||
u32 func0f11d3f8(void);
|
||||
u32 func0f11d478(void);
|
||||
u32 func0f11d4dc(void);
|
||||
s32 func0f11d540(s8 index, s32 arg1);
|
||||
s32 func0f11d5b0(s8 index);
|
||||
s32 func0f11d540(s8 device, s32 arg1);
|
||||
s32 func0f11d5b0(s8 device);
|
||||
void func0f11d620(s8 device);
|
||||
u32 func0f11d8b4(void);
|
||||
u32 func0f11d9c4(void);
|
||||
|
||||
@@ -49,9 +49,9 @@ void joy00015144(s32 line, char *file);
|
||||
|
||||
void joyReset(void);
|
||||
void joyGetContpadNumsForPlayer(s8 playernum, s32 *pad1, s32 *pad2);
|
||||
void joy000153c4(s8 arg0, s32 arg1);
|
||||
s32 joy000155b4(s8 index);
|
||||
s32 joy000155f4(s8 index);
|
||||
void joy000153c4(s8 device, s32 arg1);
|
||||
s32 joy000155b4(s8 device);
|
||||
s32 joy000155f4(s8 device);
|
||||
void joy0001561c(void);
|
||||
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -5020,7 +5020,7 @@ struct pakdata {
|
||||
/*0x242*/ u16 pagesfree;
|
||||
};
|
||||
|
||||
struct var800a2380 {
|
||||
struct pak {
|
||||
/*0x000*/ s32 unk000;
|
||||
/*0x004*/ u32 unk004;
|
||||
/*0x008*/ u32 unk008;
|
||||
@@ -5044,7 +5044,7 @@ struct var800a2380 {
|
||||
/*0x290*/ u32 unk290;
|
||||
/*0x294*/ u32 unk294;
|
||||
/*0x298*/ u32 unk298;
|
||||
/*0x29c*/ s32 unk29c;
|
||||
/*0x29c*/ s32 noteindex;
|
||||
/*0x2a0*/ u32 unk2a0;
|
||||
/*0x2a4*/ u32 unk2a4;
|
||||
/*0x2a8*/ u32 unk2a8;
|
||||
|
||||
Reference in New Issue
Block a user