Default PIT to slow on 286 and 386.

This commit is contained in:
OBattler 2023-11-22 23:01:11 +01:00
parent fbbd290c8e
commit a25a17bc62

View file

@ -168,7 +168,7 @@ pit_irq0_timer(int new_out, int old_out)
void
machine_common_init(UNUSED(const machine_t *model))
{
uint8_t cpu_requires_fast_pit = is486 || (is8086 && (cpu_s->rspeed >= 8000000));
uint8_t cpu_requires_fast_pit = is486 || (!is286 && is8086 && (cpu_s->rspeed >= 8000000));
/* System devices first. */
pic_init();