Some corrections.

This commit is contained in:
OBattler
2024-01-06 01:59:06 +01:00
parent 41766a6a1d
commit 2fb04b63ec
4 changed files with 8 additions and 8 deletions

View File

@@ -424,8 +424,8 @@ pci_write(uint16_t port, uint8_t val, UNUSED(void *priv))
}
break;
case 0xcf9:
if (pci_flags & FLAG_TRC_CONTROLS_SRST)
cpu_cpusrst_on_sr = !(val & 0x10);
if (pci_flags & FLAG_TRC_CONTROLS_CPURST)
cpu_cpurst_on_sr = !(val & 0x10);
if (!(pci_trc_reg & 4) && (val & 4))
pci_trc_reset(val);