Genoa Unknown 486: Reset BIOS memory state on soft reset, fixes hangs on soft reset after saving CMOS Setup.

This commit is contained in:
OBattler
2024-07-22 18:26:10 +02:00
parent 46db537b74
commit 95894198bf
3 changed files with 12 additions and 5 deletions

View File

@@ -240,7 +240,6 @@ reset_common(int hard)
if (!hard && reset_on_hlt) {
hlt_reset_pending++;
pclog("hlt_reset_pending = %i\n", hlt_reset_pending);
if (hlt_reset_pending == 2)
hlt_reset_pending = 0;
else
@@ -352,7 +351,8 @@ reset_common(int hard)
/* If we have an AT or PS/2 keyboard controller, make sure the A20 state
is correct. */
device_reset_all(DEVICE_KBC);
}
} else
device_reset_all(DEVICE_SOFTRESET);
if (!is286)
reset_808x(hard);