From edd3177813cbd9718a15b305ad0379ad5d7fd7c2 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Fri, 21 Oct 2016 20:25:11 -0400 Subject: [PATCH] Fix a schedule event assert on ClearCacheThreadSafe I didn't know that telling that you don't schedule from the CPU thread prevents an assert because it by default assumes you use the CPU thread, but in the case of ClearCacheThreadSafe, it's used from the GUI thread. --- Source/Core/Core/PowerPC/JitCommon/JitCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp index 4d545c1532..32fe07fb2c 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp @@ -84,7 +84,7 @@ void JitBaseBlockCache::Clear() void JitBaseBlockCache::SchedulateClearCacheThreadSafe() { - CoreTiming::ScheduleEvent(0, s_clear_jit_cache_thread_safe); + CoreTiming::ScheduleEvent(0, s_clear_jit_cache_thread_safe, 0, CoreTiming::FromThread::NON_CPU); } void JitBaseBlockCache::Reset()