More reorganization and finally merged the two makefiles.
This commit is contained in:
6
src/io.c
6
src/io.c
@@ -332,8 +332,10 @@ outb(uint16_t port, uint8_t val)
|
||||
|
||||
if (!found) {
|
||||
sub_cycles(io_delay);
|
||||
#ifdef USE_DYNAREC
|
||||
if (cpu_use_dynarec && (port == 0xeb))
|
||||
update_tsc();
|
||||
#endif
|
||||
}
|
||||
|
||||
io_log("(%i, %i, %04i) outb(%04X, %02X)\n", in_smm, found, qfound, port, val);
|
||||
@@ -425,8 +427,10 @@ outw(uint16_t port, uint16_t val)
|
||||
|
||||
if (!found) {
|
||||
sub_cycles(io_delay);
|
||||
#ifdef USE_DYNAREC
|
||||
if (cpu_use_dynarec && (port == 0xeb))
|
||||
update_tsc();
|
||||
#endif
|
||||
}
|
||||
|
||||
io_log("(%i, %i, %04i) outw(%04X, %04X)\n", in_smm, found, qfound, port, val);
|
||||
@@ -552,8 +556,10 @@ outl(uint16_t port, uint32_t val)
|
||||
|
||||
if (!found) {
|
||||
sub_cycles(io_delay);
|
||||
#ifdef USE_DYNAREC
|
||||
if (cpu_use_dynarec && (port == 0xeb))
|
||||
update_tsc();
|
||||
#endif
|
||||
}
|
||||
|
||||
io_log("(%i, %i, %04i) outl(%04X, %08X)\n", in_smm, found, qfound, port, val);
|
||||
|
||||
Reference in New Issue
Block a user