LOCK prefix on recompiler no longer causes following instruction to be executed twice - fixes Windows 2000.
This commit is contained in:
parent
2905c43db8
commit
ac01998c1e
1 changed files with 5 additions and 1 deletions
|
|
@ -535,8 +535,12 @@ static int opHLT(uint32_t fetchdat)
|
||||||
|
|
||||||
static int opLOCK(uint32_t fetchdat)
|
static int opLOCK(uint32_t fetchdat)
|
||||||
{
|
{
|
||||||
|
fetchdat = fastreadl(cs + pc);
|
||||||
|
if (abrt) return 0;
|
||||||
|
pc++;
|
||||||
|
|
||||||
CLOCK_CYCLES(4);
|
CLOCK_CYCLES(4);
|
||||||
return 0;
|
return x86_opcodes[(fetchdat & 0xff) | op32](fetchdat >> 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue