Core: Fix a bug in CX86RecompilerOps::SPECIAL_DIV
This commit is contained in:
parent
fc1210aac5
commit
77cd679756
|
@ -5099,6 +5099,7 @@ void CX86RecompilerOps::SPECIAL_DIV()
|
||||||
m_Assembler.MoveX86regToVariable(&m_Reg.m_HI.UW[0], "_RegHI->UW[0]", RegRs);
|
m_Assembler.MoveX86regToVariable(&m_Reg.m_HI.UW[0], "_RegHI->UW[0]", RegRs);
|
||||||
if (!m_RegWorkingSet.IsMapped(m_Opcode.rs))
|
if (!m_RegWorkingSet.IsMapped(m_Opcode.rs))
|
||||||
{
|
{
|
||||||
|
RegRsHi = RegRs;
|
||||||
m_Assembler.sar(RegRsHi, 31);
|
m_Assembler.sar(RegRsHi, 31);
|
||||||
}
|
}
|
||||||
m_Assembler.MoveX86regToVariable(&m_Reg.m_HI.UW[1], "_RegHI->UW[1]", RegRsHi);
|
m_Assembler.MoveX86regToVariable(&m_Reg.m_HI.UW[1], "_RegHI->UW[1]", RegRsHi);
|
||||||
|
|
Loading…
Reference in New Issue