Disable an IsCPUThread() assert in Release builds.

IsCPUThread is extremely slow at the moment, and this code runs
frequently.
This commit is contained in:
magumagu 2015-02-16 19:07:42 -08:00
parent 5b6a947e8f
commit cce503c879
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ static const char *Debug_GetInterruptName(u32 _causemask)
void SetInterrupt(u32 _causemask, bool _bSet) void SetInterrupt(u32 _causemask, bool _bSet)
{ {
_assert_msg_(POWERPC, Core::IsCPUThread(), "SetInterrupt from wrong thread"); _dbg_assert_msg_(POWERPC, Core::IsCPUThread(), "SetInterrupt from wrong thread");
if (_bSet && !(m_InterruptCause & _causemask)) if (_bSet && !(m_InterruptCause & _causemask))
{ {