Several fixes - the MR BIOS'es now work on the recompiler (thank you, port EBh!), so they have been moved out of the Dev branch.

This commit is contained in:
OBattler
2020-05-13 03:43:02 +02:00
parent 870671586d
commit f46181db78
11 changed files with 48 additions and 64 deletions

View File

@@ -328,8 +328,11 @@ outb(uint16_t port, uint8_t val)
p = p->next;
}
if (!found)
if (!found) {
sub_cycles(io_delay);
if (cpu_use_dynarec && (port == 0xeb))
update_tsc(io_delay);
}
io_log("(%i, %i, %04i) outb(%04X, %02X)\n", in_smm, found, qfound, port, val);
@@ -418,8 +421,11 @@ outw(uint16_t port, uint16_t val)
}
}
if (!found)
if (!found) {
sub_cycles(io_delay);
if (cpu_use_dynarec && (port == 0xeb))
update_tsc(io_delay);
}
io_log("(%i, %i, %04i) outw(%04X, %04X)\n", in_smm, found, qfound, port, val);
@@ -542,8 +548,11 @@ outl(uint16_t port, uint32_t val)
}
}
if (!found)
if (!found) {
sub_cycles(io_delay);
if (cpu_use_dynarec && (port == 0xeb))
update_tsc(io_delay);
}
io_log("(%i, %i, %04i) outl(%04X, %08X)\n", in_smm, found, qfound, port, val);