LOCK prefix on recompiler no longer causes following instruction to be executed twice - fixes Windows 2000.

This commit is contained in:
TomW 2014-11-16 15:01:31 +00:00
commit ac01998c1e

View file

@ -535,8 +535,12 @@ static int opHLT(uint32_t fetchdat)
static int opLOCK(uint32_t fetchdat)
{
fetchdat = fastreadl(cs + pc);
if (abrt) return 0;
pc++;
CLOCK_CYCLES(4);
return 0;
return x86_opcodes[(fetchdat & 0xff) | op32](fetchdat >> 8);
}