use bitfields in savefile to save space

This commit is contained in:
Reonu
2021-07-18 11:19:07 +01:00
parent 1a20512dc7
commit 28171f51f2

View File

@@ -58,9 +58,9 @@ struct MainMenuSaveData
// the older the high score is. This is used for tie-breaking when displaying
// on the high score screen.
u32 coinScoreAges[NUM_SAVE_FILES];
u16 soundMode;
u16 soundMode: 2;
#ifdef WIDE
u8 wideMode;
u8 wideMode: 1;
#endif
#ifdef VERSION_EU