iop: don't load any value in r0

Fix lsu.irx test
This commit is contained in:
Gregory Hainaut 2016-01-27 20:07:17 +01:00
parent b21ce8c9fb
commit c037686a26
1 changed files with 3 additions and 1 deletions

View File

@ -712,7 +712,9 @@ static void rpsxLW()
xADD(ecx, (uptr)iopMem->Main); xADD(ecx, (uptr)iopMem->Main);
xMOV(ecx, ptr[ecx]); xMOV(ecx, ptr[ecx]);
xMOV(ptr[&psxRegs.GPR.r[_Rt_]], ecx); if (_Rt_) {
xMOV(ptr[&psxRegs.GPR.r[_Rt_]], ecx);
}
x86SetJ8(j8Ptr[1]); x86SetJ8(j8Ptr[1]);
PSX_DEL_CONST(_Rt_); PSX_DEL_CONST(_Rt_);