From 28171f51f2d565a371a26b36da4b115c1dbb2639 Mon Sep 17 00:00:00 2001 From: Reonu Date: Sun, 18 Jul 2021 11:19:07 +0100 Subject: [PATCH] use bitfields in savefile to save space --- src/game/save_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/save_file.h b/src/game/save_file.h index 20d77ee7..71c5211e 100644 --- a/src/game/save_file.h +++ b/src/game/save_file.h @@ -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