Decompile optionsGetControlMode and optionsSetControlMode

This commit is contained in:
Ryan Dwyer
2019-12-31 10:07:13 +10:00
parent 823b40ca24
commit 70ba23303f
4 changed files with 54 additions and 60 deletions
+3
View File
@@ -310,6 +310,9 @@
#define COLOR_08_RED 0x08
#define COLOR_09_BLUE 0x09
#define CONTROLMODE_SINGLE 0
#define CONTROLMODE_DOUBLE 1
// L/C/R = left/centered/right
// big/med/sml is the font size
#define CREDITSTYLE_R_BIG_R_MED 1
+2 -2
View File
@@ -3,8 +3,8 @@
#include <ultra64.h>
#include "types.h"
u32 optionsGetControlMode(void);
u32 optionsSetControlMode(void);
s32 optionsGetControlMode(s32 optionsindex);
void optionsSetControlMode(s32 optionsindex, s32 mode);
u32 func0f152748(void);
u32 func0f152764(void);
s32 optionsGetForwardPitch(s32 optionsindex);
+5 -2
View File
@@ -3952,8 +3952,11 @@ struct options {
/*0x38*/ u32 unk38;
/*0x3c*/ u32 unk3c;
/*0x40*/ u32 unk40;
/*0x44*/ u32 unk44;
/*0x48*/ u16 unk48;
/*0x44*/ u8 controlmode;
/*0x45*/ u8 unk45;
/*0x46*/ u8 unk46;
/*0x47*/ u8 unk47;
/*0x48*/ u16 booleans;
/*0x4c*/ u32 unk4c;
/*0x50*/ u32 unk50;
/*0x54*/ u32 unk54;