From cce503c879449cfa7ce2c71b421fac28acd6a1cb Mon Sep 17 00:00:00 2001 From: magumagu Date: Mon, 16 Feb 2015 19:07:42 -0800 Subject: [PATCH] Disable an IsCPUThread() assert in Release builds. IsCPUThread is extremely slow at the moment, and this code runs frequently. --- Source/Core/Core/HW/ProcessorInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {