808x: Clear prefetch queue on soft reset, fixes the CTRL+ALT+DEL hang on Amstrad 808x machines, fixes #408.

This commit is contained in:
OBattler
2024-01-15 04:32:52 +01:00
parent 2354a25231
commit 2cbfc8e047
2 changed files with 2 additions and 2 deletions

View File

@@ -563,9 +563,10 @@ reset_808x(int hard)
_opseg[3] = &cpu_state.seg_ds;
pfq_size = (is8086) ? 6 : 4;
pfq_clear();
}
pfq_clear();
load_cs(0xFFFF);
cpu_state.pc = 0;
if (is_nec)

View File

@@ -2124,7 +2124,6 @@ kbd_write(uint16_t port, uint8_t val, void *priv)
case 0x66:
softresetx86();
cpu_set_edx();
break;
default: