mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Common/Assert: Actually use the ASSERT_MSG's log type parameter
Since it was unused, nonexistent values were used in a few places. I've replaced them.
This commit is contained in:
parent
bab3ff0157
commit
558de04cfc
9 changed files with 48 additions and 38 deletions
|
@ -440,7 +440,7 @@ void RegCache::Reset(BitSet32 pregs)
|
|||
{
|
||||
for (preg_t i : pregs)
|
||||
{
|
||||
ASSERT_MSG(DYNAREC, !m_regs[i].IsAway(),
|
||||
ASSERT_MSG(DYNA_REC, !m_regs[i].IsAway(),
|
||||
"Attempted to reset a loaded register (did you mean to flush it?)");
|
||||
m_regs[i].SetFlushed();
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ void Arm64RegCache::ResetRegisters(BitSet32 regs)
|
|||
OpArg& reg = m_guest_registers[i];
|
||||
ARM64Reg host_reg = reg.GetReg();
|
||||
|
||||
ASSERT_MSG(DYNAREC, host_reg == ARM64Reg::INVALID_REG,
|
||||
ASSERT_MSG(DYNA_REC, host_reg == ARM64Reg::INVALID_REG,
|
||||
"Attempted to reset a loaded register (did you mean to flush it?)");
|
||||
reg.Flush();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue