mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
EE/JIT: Flush const on LDL/LDR instructions
This commit is contained in:
1 parent
85f0d44997
commit
b4e6a715fc
1 file changed
+12
@@ -535,6 +535,12 @@ void recLDL()
|
||||
#ifdef LOADSTORE_RECOMPILE
|
||||
int t2reg;
|
||||
|
||||
if (GPR_IS_CONST1(_Rt_))
|
||||
{
|
||||
_flushConstReg(_Rt_);
|
||||
_eeOnWriteReg(_Rt_, 0);
|
||||
}
|
||||
|
||||
if (GPR_IS_CONST1(_Rs_))
|
||||
{
|
||||
u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
|
||||
@@ -610,6 +616,12 @@ void recLDR()
|
||||
|
||||
#ifdef LOADSTORE_RECOMPILE
|
||||
int t2reg;
|
||||
|
||||
if (GPR_IS_CONST1(_Rt_))
|
||||
{
|
||||
_flushConstReg(_Rt_);
|
||||
_eeOnWriteReg(_Rt_, 0);
|
||||
}
|
||||
|
||||
if (GPR_IS_CONST1(_Rs_))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user