Treat port 0x84, even if something is listening to it, as a delay port, fixes the Dell 466/NP on faster CPU's.
This commit is contained in:
4
src/io.c
4
src/io.c
@@ -445,10 +445,10 @@ outb(uint16_t port, uint8_t val)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!found) {
|
if (!found || (port == 0x84)) {
|
||||||
cycles -= io_delay;
|
cycles -= io_delay;
|
||||||
#ifdef USE_DYNAREC
|
#ifdef USE_DYNAREC
|
||||||
if (cpu_use_dynarec && ((port == 0xeb) || (port == 0xed)))
|
if (cpu_use_dynarec && ((port == 0x84) || (port == 0xeb) || (port == 0xed)))
|
||||||
update_tsc();
|
update_tsc();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user