Only enable waitstate selection on CPUs where it has any practical effect (286/386).
This commit is contained in:
parent
8927b50d70
commit
5457531753
2 changed files with 29 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue