diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index 7ca17cbffc..5e369067f6 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -59,22 +59,20 @@ void JitInterface::DoState(PointerWrap& p) CPUCoreBase* JitInterface::InitJitCore(PowerPC::CPUCore core) { - auto& system = Core::System::GetInstance(); - switch (core) { #if _M_X86 case PowerPC::CPUCore::JIT64: - m_jit = std::make_unique(system); + m_jit = std::make_unique(m_system); break; #endif #if _M_ARM_64 case PowerPC::CPUCore::JITARM64: - m_jit = std::make_unique(system); + m_jit = std::make_unique(m_system); break; #endif case PowerPC::CPUCore::CachedInterpreter: - m_jit = std::make_unique(system); + m_jit = std::make_unique(m_system); break; default: