mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue