iop: fix MTLO instruction

Test hilodelay.irx is now pass ^^ (but test only covers constant path.)
This commit is contained in:
Gregory Hainaut 2016-01-27 10:25:28 +01:00
parent bfd1bcec69
commit ba62ce9e93
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ void rpsxMFLO()
void rpsxMTLO() void rpsxMTLO()
{ {
if( PSX_IS_CONST1(_Rs_) ) { if( PSX_IS_CONST1(_Rs_) ) {
xMOV(ptr32[&psxRegs.GPR.n.hi], g_psxConstRegs[_Rs_]); xMOV(ptr32[&psxRegs.GPR.n.lo], g_psxConstRegs[_Rs_]);
} }
else { else {
_psxDeleteReg(_Rs_, 1); _psxDeleteReg(_Rs_, 1);