PCI TRC Reset: Only zero the RAM on 686 systems, fixes #5462.

This commit is contained in:
OBattler
2025-04-11 19:58:30 +02:00
parent 95a6aa0bdf
commit e21c86d46c
2 changed files with 3 additions and 4 deletions

View File

@@ -1025,10 +1025,8 @@ acpi_reg_write_common_regs(UNUSED(int size), uint16_t addr, uint8_t val, void *p
nvr_reg_write(0x000f, 0xff, dev->nvr);
}
if (sus_typ & SUS_RESET_PCI) {
if (sus_typ & SUS_RESET_PCI)
device_reset_all(DEVICE_PCI);
mem_zero();
}
if (sus_typ & SUS_RESET_CPU)
cpu_alt_reset = 0;

View File

@@ -420,7 +420,8 @@ pci_trc_reset(uint8_t val)
flushmmucache();
mem_zero();
if (is_p6)
mem_zero();
}
#ifdef USE_DYNAREC