Memory: Fix bug in Compile_SB_Const
This commit is contained in:
parent
884b408b2d
commit
55e4db8911
|
@ -645,7 +645,6 @@ void CMipsMemoryVM::Compile_SB_Const ( BYTE Value, DWORD VAddr ) {
|
||||||
ShiftRightUnsignImmed(TempReg2,12);
|
ShiftRightUnsignImmed(TempReg2,12);
|
||||||
MoveVariableDispToX86Reg(m_TLB_WriteMap,"m_TLB_WriteMap",TempReg2,TempReg2,4);
|
MoveVariableDispToX86Reg(m_TLB_WriteMap,"m_TLB_WriteMap",TempReg2,TempReg2,4);
|
||||||
CompileWriteTLBMiss(TempReg1,TempReg2);
|
CompileWriteTLBMiss(TempReg1,TempReg2);
|
||||||
XorConstToX86Reg(TempReg1,3);
|
|
||||||
MoveConstByteToX86regPointer(Value,TempReg1, TempReg2);
|
MoveConstByteToX86regPointer(Value,TempReg1, TempReg2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -751,7 +750,7 @@ void CMipsMemoryVM::Compile_SH_Const ( WORD Value, DWORD VAddr ) {
|
||||||
MoveConstHalfToVariable(Value,PAddr + m_RDRAM,VarName);
|
MoveConstHalfToVariable(Value,PAddr + m_RDRAM,VarName);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (g_Settings->LoadBool(Debugger_ShowUnhandledMemory)) { g_Notify->DisplayError("Compile_SH_Const\ntrying to store %X in %X?",Value,VAddr); }
|
if (g_Settings->LoadBool(Debugger_ShowUnhandledMemory)) { g_Notify->DisplayError(__FUNCTION__ "\ntrying to store %X in %X?",Value,VAddr); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue