Skip to content

Commit 8130469

Browse files
committed
Fix first run save.
1 parent 2f691b5 commit 8130469

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/menu/views/settings_editor.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ static void draw (menu_t *menu, surface_t *d) {
136136
ALIGN_LEFT, VALIGN_TOP,
137137
"\n\n"
138138
" Default Directory : %s\n\n"
139-
" Autoload ROM : %s\n\n"
139+
" Autoload ROM : %s\n"
140+
" ROM Loading Bar : %s\n\n"
140141
"To change the following menu settings, press 'A':\n"
141142
" Show Hidden Files : %s\n"
142143
" Use Saves folder : %s\n"
143144
" Sound Effects : %s\n"
144-
" Loading Progress : %s\n"
145145
#ifdef BETA_SETTINGS
146146
"* PAL60 Mode : %s\n"
147147
" Background Music : %s\n"
@@ -153,10 +153,10 @@ static void draw (menu_t *menu, surface_t *d) {
153153
,
154154
menu->settings.default_directory,
155155
format_switch(menu->settings.rom_autoload_enabled),
156+
format_switch(menu->settings.loading_progress_bar_enabled),
156157
format_switch(menu->settings.show_protected_entries),
157158
format_switch(menu->settings.use_saves_folder),
158-
format_switch(menu->settings.soundfx_enabled),
159-
format_switch(menu->settings.loading_progress_bar_enabled)
159+
format_switch(menu->settings.soundfx_enabled)
160160
#ifdef BETA_SETTINGS
161161
,
162162
format_switch(menu->settings.pal60_enabled),

src/menu/views/startup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ void view_startup_init (menu_t *menu) {
3131
}
3232

3333
if (menu->settings.first_run) {
34-
menu->next_mode = MENU_MODE_CREDITS;
3534
menu->settings.first_run = false;
35+
settings_save(&menu->settings);
36+
menu->next_mode = MENU_MODE_CREDITS;
3637
}
3738
else {
3839
menu->next_mode = MENU_MODE_BROWSER;

0 commit comments

Comments
 (0)