mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 10:39:19 +01:00
Simplify
This commit is contained in:
parent
be0c9d333f
commit
e3e4f9ef8e
@ -258,6 +258,7 @@ static void amiga_model_options(void)
|
|||||||
int opt;
|
int opt;
|
||||||
|
|
||||||
memset(submenus, 0, sizeof(submenus));
|
memset(submenus, 0, sizeof(submenus));
|
||||||
|
submenus[1] = currprefs.cpu_cycle_exact;
|
||||||
opt = menu_select_title("Amiga model menu",
|
opt = menu_select_title("Amiga model menu",
|
||||||
amiga_model_messages, submenus);
|
amiga_model_messages, submenus);
|
||||||
if (opt < 0)
|
if (opt < 0)
|
||||||
@ -272,7 +273,7 @@ static void amiga_model_options(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Cycle-exact or not? */
|
/* Cycle-exact or not? */
|
||||||
changed_prefs.cpu_cycle_exact = submenus[1] == 0 ? 0 : 1;
|
changed_prefs.cpu_cycle_exact = submenus[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
static void save_load_state(int which)
|
static void save_load_state(int which)
|
||||||
|
Loading…
Reference in New Issue
Block a user