mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
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++) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user