mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
DSPJit: fix bug in DSPJitRegCache::getXReg
This commit is contained in:
parent
6b5b8ab5be
commit
d3de29c673
1 changed files with 1 additions and 1 deletions
|
@ -982,7 +982,7 @@ void DSPJitRegCache::getXReg(X64Reg reg)
|
||||||
}
|
}
|
||||||
if (xregs[reg].guest_reg != DSP_REG_NONE)
|
if (xregs[reg].guest_reg != DSP_REG_NONE)
|
||||||
spillXReg(reg);
|
spillXReg(reg);
|
||||||
_assert_msg_(DSPLLE, xregs[reg].guest_reg != DSP_REG_NONE, "register already in use");
|
_assert_msg_(DSPLLE, xregs[reg].guest_reg == DSP_REG_NONE, "register already in use");
|
||||||
xregs[reg].guest_reg = DSP_REG_USED;
|
xregs[reg].guest_reg = DSP_REG_USED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue