Fixed bug in x86-64 recompiler introduced by rev 581.
This commit is contained in:
parent
0cf0c7792c
commit
6131d9b7d9
1 changed files with 2 additions and 2 deletions
|
|
@ -3390,9 +3390,9 @@ static int LOAD_HOST_REG(int host_reg)
|
||||||
if (host_reg & 8)
|
if (host_reg & 8)
|
||||||
addbyte(0x44);
|
addbyte(0x44);
|
||||||
addbyte(0x89);
|
addbyte(0x89);
|
||||||
addbyte(0xc0 | REG_ECX | ((host_reg & 7) << 3));
|
addbyte(0xc0 | REG_EBX | ((host_reg & 7) << 3));
|
||||||
|
|
||||||
return REG_ECX | (host_reg & 0x10);
|
return REG_EBX | (host_reg & 0x10);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ZERO_EXTEND_W_B(int reg)
|
static int ZERO_EXTEND_W_B(int reg)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue