Decompile pakGameNoteListMenuHandler

This commit is contained in:
Ryan Dwyer
2020-11-10 17:15:17 +10:00
parent b3233cf00b
commit 15072ce5fb
6 changed files with 138 additions and 362 deletions
+1 -1
View File
@@ -1138,7 +1138,7 @@
#define MENUROOT_MPSETUP 3
#define MENUROOT_MPPAUSE 4
#define MENUROOT_MPENDSCREEN 5
#define MENUROOT_FILESELECT 6
#define MENUROOT_FILEMGR 6
#define MENUROOT_BOOTPAKMGR 7
#define MENUROOT_9 9
#define MENUROOT_10 10
+1 -1
View File
@@ -128,7 +128,7 @@ u32 func0f11e4d4(void);
void bitSetByIndex(u32 value, u32 *flags, bool set);
u32 bitGetByIndex(u32 value, u32 *flags);
void func0f11e5bc(u32 *flags);
u32 func0f11e618(void);
void func0f11e618(char *src, char *dst, u32 len);
s8 func0f11e6b0(s32 arg0);
u32 func0f11e750(void);
u32 func0f11e78c(void);
+7 -6
View File
@@ -3863,9 +3863,10 @@ struct menudata_mpend {
u32 unke1c;
};
struct menudata_filesel {
// Not sure if fileman and pak are the same struct
struct menudata_fileman {
u32 filetypeplusone;
u32 slotcount;
u32 device;
u32 unke24;
u32 unke28;
u32 unke2c;
@@ -3875,7 +3876,7 @@ struct menudata_pak {
u32 unke1c;
u32 device;
u32 unke24;
u32 unke28;
u32 noteindex;
};
struct menudata_main4mb {
@@ -4492,7 +4493,7 @@ struct menu {
struct menudata_mpsetup mpsetup;
struct menudata_mppause mppause;
struct menudata_mpend mpend;
struct menudata_filesel filesel;
struct menudata_fileman fileman;
struct menudata_pak pak;
struct menudata_main4mb main4mb;
struct menudata_train train;
@@ -7149,8 +7150,8 @@ struct remoteminething {
};
struct pakdata {
/*0x000*/ OSPfsState filestates[16];
/*0x200*/ bool filesinuse[16];
/*0x000*/ OSPfsState notes[16];
/*0x200*/ bool notesinuse[16];
/*0x240*/ u16 pagesused;
/*0x242*/ u16 pagesfree;
};