Core: Add System parameter to CPUThreadGuard.

This commit is contained in:
Admiral H. Curtiss committed 2023-03-08 22:41:42 +01:00
1 parent c592c94395
commit 912cd456fb
21 files changed
+86 -74

No files matched your search

+2 -1
View File
@@ -30,6 +30,7 @@
#include "Core/PowerPC/PPCSymbolDB.h"
#include "Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/Profiler.h"
#include "Core/System.h"
#if _M_X86
#include "Core/PowerPC/Jit64/Jit.h"
@@ -273,7 +274,7 @@ void CompileExceptionCheck(ExceptionType type)
if (type == ExceptionType::FIFOWrite)
{
ASSERT(Core::IsCPUThread());
Core::CPUThreadGuard guard;
Core::CPUThreadGuard guard(Core::System::GetInstance());
// Check in case the code has been replaced since: do we need to do this?
const OpType optype =