DSPJIT: Fix movToHostReg usage
This commit is contained in:
1 parent
9299026572
commit
7768b6f960
1 file changed
+2
-2
@@ -387,7 +387,7 @@ void DSPJitRegCache::loadRegs(bool emit)
|
||||
{
|
||||
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
||||
if (regs[i].host_reg != INVALID_REG)
|
||||
movToHostReg(i,regs[i].host_reg);
|
||||
movToHostReg(i,regs[i].host_reg, emit);
|
||||
}
|
||||
|
||||
if (emit) {
|
||||
@@ -503,7 +503,7 @@ void DSPJitRegCache::popRegs() {
|
||||
|
||||
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
||||
if (regs[i].host_reg != INVALID_REG)
|
||||
movToHostReg(i,regs[i].host_reg);
|
||||
movToHostReg(i,regs[i].host_reg, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user