From ea7cd2830f492e51965c8c5187f77abf436aafd9 Mon Sep 17 00:00:00 2001 From: Reonu Date: Tue, 20 Jul 2021 03:50:39 +0100 Subject: [PATCH 1/2] soundMode is u8 and uses bitfield --- src/game/save_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/save_file.h b/src/game/save_file.h index 5cd6cd13..85ce087a 100644 --- a/src/game/save_file.h +++ b/src/game/save_file.h @@ -58,7 +58,7 @@ 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; + u8 soundMode: 2; #ifdef VERSION_EU u16 language; From 922bfe5f616217beb645fa8048695e15c756b05b Mon Sep 17 00:00:00 2001 From: Reonu Date: Tue, 20 Jul 2021 04:09:04 +0100 Subject: [PATCH 2/2] language is also u8 with bitfield --- src/game/save_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/save_file.h b/src/game/save_file.h index 85ce087a..a492c753 100644 --- a/src/game/save_file.h +++ b/src/game/save_file.h @@ -61,7 +61,7 @@ struct MainMenuSaveData u8 soundMode: 2; #ifdef VERSION_EU - u16 language; + u8 language: 2; #define SUBTRAHEND 8 #else #define SUBTRAHEND 6