LOCK: It is sometimes legal when cpu_mod == 3, fixes hangs with Compaq Portable III 386 TEST.

This commit is contained in:
OBattler
2024-03-03 21:24:00 +01:00
parent dc7a105ef2
commit 244038b84c
2 changed files with 1 additions and 4 deletions

View File

@@ -433,7 +433,7 @@ is_lock_legal(uint32_t fetchdat)
legal = lock_legal[fetch_dat.b[0]];
if (legal == 1)
legal = ((fetch_dat.b[1] >> 6) != 0x03); /* reg is illegal */
legal = 1; // ((fetch_dat.b[1] >> 6) != 0x03); /* reg is illegal */
else if (legal == 2) {
legal = lock_legal_0f[fetch_dat.b[1]];
if (legal == 1)

View File

@@ -738,9 +738,6 @@ opLOCK(uint32_t fetchdat)
legal = is_lock_legal(fetchdat);
if (legal == 4)
pclog("PREFIX: F0 %08X\n", fetchdat);
ILLEGAL_ON(legal == 0);
CLOCK_CYCLES(4);