Fixed bug where fastest CPU speed would not get applied until you changed CPU settings

This commit is contained in:
Dimitris Panokostas 2020-05-23 00:01:12 +02:00
parent 8afd7eee50
commit 3315fa8890
2 changed files with 2 additions and 1 deletions

View file

@ -75,7 +75,7 @@ static void uae_abort (const TCHAR *format,...)
}
#ifdef AMIBERRY
int pissoff_value = speedup_cycles_jit_pal * CYCLE_UNIT;
int pissoff_value = 0;
#endif
static unsigned int n_consecutive_skipped = 0;

View file

@ -1989,6 +1989,7 @@ void m68k_go(int may_quit)
reset_frame_rate_hack();
update_68k_cycles();
set_speedup_values();
cpu_prefs_changed_flag = 0;
in_m68k_go++;