mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 12:06:55 +01:00
Reset if the amiga model changed
This commit is contained in:
parent
c4fcb7b071
commit
642803c0ef
@ -478,9 +478,10 @@ static int get_model(void)
|
||||
static void amiga_model_options(void)
|
||||
{
|
||||
int submenus[2];
|
||||
int cur_model = get_model();
|
||||
int opt;
|
||||
|
||||
submenus[0] = get_model();
|
||||
submenus[0] = cur_model;
|
||||
submenus[1] = get_emulation_accuracy();
|
||||
|
||||
opt = menu_select_title("Amiga model menu",
|
||||
@ -496,6 +497,11 @@ static void amiga_model_options(void)
|
||||
default: /* custom */
|
||||
break;
|
||||
}
|
||||
|
||||
/* Reset the Amiga if the model has changed */
|
||||
if (cur_model != submenus[0])
|
||||
uae_reset(1);
|
||||
|
||||
/* Cycle-exact or not? */
|
||||
set_emulation_accuracy(submenus[1]);
|
||||
if (opt == 4)
|
||||
|
Loading…
Reference in New Issue
Block a user