Merge pull request #2067 from magumagu/cputhread-assert

Disable an IsCPUThread() assert in Release builds.
This commit is contained in:
Pierre Bourdon 2015-02-18 16:22:23 +00:00
commit 042fcbcbca

View File

@ -191,7 +191,7 @@ static const char *Debug_GetInterruptName(u32 _causemask)
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))
{