Disable an IsCPUThread() assert in Release builds.
IsCPUThread is extremely slow at the moment, and this code runs frequently.
This commit is contained in:
parent
5b6a947e8f
commit
cce503c879
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue