Fixed a very stupid typo in the 286/386 version of the LOCK instruction that was breaking OS/2 Warp 3.0.

This commit is contained in:
OBattler
2024-02-19 15:41:49 +01:00
parent 19f6954410
commit e3e30e7536

View File

@@ -763,7 +763,7 @@ opLOCK(uint32_t fetchdat)
legal = ((fetch_dat.b[1] >> 6) != 0x03); /* reg is illegal */
break;
case 0xfe ... 0xff:
legal = lock_legal_f6[(fetch_dat.b[1] >> 3) & 0x07];
legal = lock_legal_fe[(fetch_dat.b[1] >> 3) & 0x07];
if (legal == 1)
legal = ((fetch_dat.b[1] >> 6) != 0x03); /* reg is illegal */
break;