DSPJIT: Fix movToHostReg usage
This commit is contained in:
parent
9299026572
commit
7768b6f960
|
@ -387,7 +387,7 @@ void DSPJitRegCache::loadRegs(bool emit)
|
||||||
{
|
{
|
||||||
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
||||||
if (regs[i].host_reg != INVALID_REG)
|
if (regs[i].host_reg != INVALID_REG)
|
||||||
movToHostReg(i,regs[i].host_reg);
|
movToHostReg(i,regs[i].host_reg, emit);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (emit) {
|
if (emit) {
|
||||||
|
@ -503,7 +503,7 @@ void DSPJitRegCache::popRegs() {
|
||||||
|
|
||||||
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
for(unsigned int i = 0; i <= DSP_REG_MAX_MEM_BACKED; i++) {
|
||||||
if (regs[i].host_reg != INVALID_REG)
|
if (regs[i].host_reg != INVALID_REG)
|
||||||
movToHostReg(i,regs[i].host_reg);
|
movToHostReg(i,regs[i].host_reg, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue