diff options
| author | magumagu <magumagu9@gmail.com> | 2015-02-16 19:07:42 -0800 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2015-02-16 19:07:42 -0800 |
| commit | cce503c879449cfa7ce2c71b421fac28acd6a1cb (patch) | |
| tree | 44ff84f636275d518c9882c474fbaccc0075b5b5 /Source | |
| parent | 5b6a947e8ff8256ed5253d39a806d4d3ca47b31d (diff) | |
Disable an IsCPUThread() assert in Release builds.
IsCPUThread is extremely slow at the moment, and this code runs
frequently.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/ProcessorInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/ProcessorInterface.cpp b/Source/Core/Core/HW/ProcessorInterface.cpp index 195660e17c..26f19a8716 100644 --- a/Source/Core/Core/HW/ProcessorInterface.cpp +++ b/Source/Core/Core/HW/ProcessorInterface.cpp @@ -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)) { |
