diff --git a/src/menu/settings.c b/src/menu/settings.c index 6a6ccbc4..b8a6b5b4 100644 --- a/src/menu/settings.c +++ b/src/menu/settings.c @@ -5,7 +5,7 @@ #include "utils/fs.h" -#define SETTINGS_FILE_PATH "/config.ini" +#define SETTINGS_FILE_PATH "sd:/config.ini" static settings_t init = { @@ -20,7 +20,7 @@ void settings_load (settings_t *settings) { settings_save(&init); } - mini_t *ini = mini_try_load("sd:/" SETTINGS_FILE_PATH); + mini_t *ini = mini_try_load(SETTINGS_FILE_PATH); settings->pal60 = mini_get_bool(ini, "menu", "pal60", init.pal60); settings->show_hidden_files = mini_get_bool(ini, "menu", "show_hidden_files", init.show_hidden_files); @@ -30,7 +30,7 @@ void settings_load (settings_t *settings) { } void settings_save (settings_t *settings) { - mini_t *ini = mini_create("sd:/" SETTINGS_FILE_PATH); + mini_t *ini = mini_create(SETTINGS_FILE_PATH); mini_set_bool(ini, "menu", "pal60", settings->pal60); mini_set_bool(ini, "menu", "show_hidden_files", settings->show_hidden_files);