Label a save info loop (#645)

* save info

* more gcc progress
This commit is contained in:
MegaMech
2024-08-22 23:59:04 -06:00
committed by GitHub
parent 40f677db52
commit 8ebae23080
18 changed files with 261 additions and 42 deletions
+6
View File
@@ -10,6 +10,12 @@
Configuration
=======================*/
#define AUDIO_HEAP_SIZE 0x48C00
#define AUDIO_HEAP_INIT_SIZE 0x2600
#define DOUBLE_SIZE_ON_64_BIT(size) ((size) * (sizeof(void *) / 4))
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
+5
View File
@@ -35,12 +35,17 @@ typedef struct {
u8 unknownBytes[8];
} OnlyBestTimeTrialRecords; // size = 0x38
typedef struct {
// GP Points scored for each CC mode
// 1st place is 3 points, 2nd is 2, etc.
// Lowest dibit is the Mushroom Cup, 2nd dibit is the Flower Cup, etc
u8 grandPrixPoints[4];
u8 soundMode;
} SaveInfo;
typedef struct {
SaveInfo saveInfo;
// It's unknown what the first byte is used for
u8 checksum[3];
} Stuff; // size = 0x8