From 589df29cb108eea7e974d078ab3f25319bbd6dd5 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Tue, 14 Nov 2023 14:24:29 +0000 Subject: [PATCH] Minor improvements Remove changes to settings Only target Vseries and ED64P --- src/flashcart/flashcart.c | 1 + src/menu/settings.c | 3 --- src/menu/settings.h | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/flashcart/flashcart.c b/src/flashcart/flashcart.c index 8e238bd4..0541a957 100644 --- a/src/flashcart/flashcart.c +++ b/src/flashcart/flashcart.c @@ -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; diff --git a/src/menu/settings.c b/src/menu/settings.c index 5941042e..882293c6 100644 --- a/src/menu/settings.c +++ b/src/menu/settings.c @@ -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); diff --git a/src/menu/settings.h b/src/menu/settings.h index 0134135b..20096d25 100644 --- a/src/menu/settings.h +++ b/src/menu/settings.h @@ -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 */