Minor improvements

Remove changes to settings
Only target Vseries and ED64P
This commit is contained in:
Robin Jones 2023-11-14 14:24:29 +00:00
parent f052cb191b
commit 589df29cb1
3 changed files with 1 additions and 6 deletions

View File

@ -97,6 +97,7 @@ flashcart_err_t flashcart_init (void) {
break;
case CART_EDX: // Series X EverDrive-64
break;
case CART_ED: // Original EverDrive-64
flashcart = ed64_get_flashcart();
break;

View File

@ -18,7 +18,6 @@ static settings_t init = {
.bgm_enabled = false,
.sound_enabled = false,
.rumble_enabled = true,
.auto_firmware_update_enabled = false,
};
@ -38,7 +37,6 @@ void settings_load (settings_t *settings) {
settings->bgm_enabled = mini_get_bool(ini, "menu_beta_flag", "bgm_enabled", init.bgm_enabled);
settings->sound_enabled = mini_get_bool(ini, "menu_beta_flag", "sound_enabled", init.sound_enabled);
settings->rumble_enabled = mini_get_bool(ini, "menu_beta_flag", "rumble_enabled", init.rumble_enabled);
settings->auto_firmware_update_enabled = mini_get_bool(ini, "menu_beta_flag", "auto_firmware_update_enabled", init.auto_firmware_update_enabled);
mini_free(ini);
@ -56,7 +54,6 @@ void settings_save (settings_t *settings) {
// mini_set_bool(ini, "menu_beta_flag", "bgm_enabled", init.bgm_enabled);
// mini_set_bool(ini, "menu_beta_flag", "sound_enabled", init.sound_enabled);
// mini_set_bool(ini, "menu_beta_flag", "rumble_enabled", init.rumble_enabled);
// mini_set_bool(ini, "menu_beta_flag", "auto_firmware_update_enabled", init.auto_firmware_update_enabled);
mini_save(ini, MINI_FLAGS_SKIP_EMPTY_GROUPS);

View File

@ -31,9 +31,6 @@ typedef struct {
/** @brief Enable rumble feedback */
bool rumble_enabled;
/** @brief Enable auto firmware updates */
bool auto_firmware_update_enabled;
} settings_t;
/** @brief The settings to load */