Only enable waitstate selection on CPUs where it has any practical effect (286/386).

This commit is contained in:
SarahW 2016-12-13 20:44:43 +00:00
commit 5457531753
2 changed files with 29 additions and 1 deletions

View file

@ -1553,7 +1553,7 @@ void cpu_update_waitstates()
/* Disable prefetch emulation */
cpu_prefetch_cycles = 0;
}
else if (cpu_waitstates)
else if (cpu_waitstates && (cpu_s->cpu_type >= CPU_286 && cpu_s->cpu_type <= CPU_386DX))
{
/* Waitstates override */
cpu_prefetch_cycles = cpu_waitstates+1;