mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 03:56:54 +01:00
Update settings.c
This commit is contained in:
parent
dba02e990f
commit
79a3deb210
@ -14,9 +14,6 @@ static settings_t init = {
|
|||||||
.default_directory = "/",
|
.default_directory = "/",
|
||||||
.use_saves_folder = true,
|
.use_saves_folder = true,
|
||||||
|
|
||||||
/* flashcart specific feature flags */
|
|
||||||
.last_rom_path = "/",
|
|
||||||
|
|
||||||
/* Beta feature flags */
|
/* Beta feature flags */
|
||||||
.bgm_enabled = false,
|
.bgm_enabled = false,
|
||||||
.sound_enabled = false,
|
.sound_enabled = false,
|
||||||
@ -37,10 +34,6 @@ void settings_load (settings_t *settings) {
|
|||||||
settings->default_directory = strdup(mini_get_string(ini, "menu", "default_directory", init.default_directory));
|
settings->default_directory = strdup(mini_get_string(ini, "menu", "default_directory", init.default_directory));
|
||||||
settings->use_saves_folder = mini_get_bool(ini, "menu", "use_saves_folder", init.use_saves_folder);
|
settings->use_saves_folder = mini_get_bool(ini, "menu", "use_saves_folder", init.use_saves_folder);
|
||||||
|
|
||||||
/* flashcart specific feature flags */
|
|
||||||
settings->last_rom_path = strdup(mini_get_string(ini, "menu", "last_rom_path", init.last_rom_path));
|
|
||||||
|
|
||||||
|
|
||||||
/* Beta feature flags, they might not be in the file */
|
/* Beta feature flags, they might not be in the file */
|
||||||
settings->bgm_enabled = mini_get_bool(ini, "menu_beta_flag", "bgm_enabled", init.bgm_enabled);
|
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->sound_enabled = mini_get_bool(ini, "menu_beta_flag", "sound_enabled", init.sound_enabled);
|
||||||
|
Loading…
Reference in New Issue
Block a user