mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-10 21:05:17 +01:00
Correct leds on/off in the menu
This commit is contained in:
parent
402438e425
commit
c4fcb7b071
@ -330,7 +330,7 @@ static void general_options(void)
|
||||
|
||||
submenus[0] = get_cpu_to_chipset_speed();
|
||||
submenus[1] = get_floppy_speed();
|
||||
submenus[2] = currprefs.leds_on_screen;
|
||||
submenus[2] = currprefs.leds_on_screen == 0 ? 1 : 0;
|
||||
|
||||
opt = menu_select_title("General options menu",
|
||||
options_messages, submenus);
|
||||
@ -338,8 +338,10 @@ static void general_options(void)
|
||||
return;
|
||||
set_cpu_to_chipset_speed(submenus[0]);
|
||||
set_floppy_speed(submenus[1]);
|
||||
//Floppy, Power, FPS, etc etc.
|
||||
changed_prefs.leds_on_screen = submenus[2];
|
||||
|
||||
/* Floppy, Power, FPS, etc etc. */
|
||||
changed_prefs.leds_on_screen = !submenus[2];
|
||||
currprefs.leds_on_screen = changed_prefs.leds_on_screen;
|
||||
|
||||
prefs_has_changed = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user