Fixed cycles accumulation in update_tsc() when cache is enabled (and the actual recompiler kicks in), and also fixed a warning in the 82091AA code.

This commit is contained in:
OBattler
2020-07-12 20:01:16 +02:00
parent 8e5fa10d0e
commit 974a7ae4f1
9 changed files with 39 additions and 3 deletions

View File

@@ -147,6 +147,8 @@ i82091aa_write(uint16_t port, uint8_t val, void *priv)
return;
} else if (dev->cur_reg < 0x51)
valxor = val ^ *reg;
else if (dev->cur_reg >= 0x51)
return;
switch(dev->cur_reg) {
case 0x02: