mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
JitBase: Avoid System::GetInstance() and ppcState.
This commit is contained in:
@ -54,20 +54,22 @@ void DoState(PointerWrap& p)
|
||||
}
|
||||
CPUCoreBase* InitJitCore(PowerPC::CPUCore core)
|
||||
{
|
||||
auto& system = Core::System::GetInstance();
|
||||
|
||||
switch (core)
|
||||
{
|
||||
#if _M_X86
|
||||
case PowerPC::CPUCore::JIT64:
|
||||
g_jit = new Jit64();
|
||||
g_jit = new Jit64(system);
|
||||
break;
|
||||
#endif
|
||||
#if _M_ARM_64
|
||||
case PowerPC::CPUCore::JITARM64:
|
||||
g_jit = new JitArm64();
|
||||
g_jit = new JitArm64(system);
|
||||
break;
|
||||
#endif
|
||||
case PowerPC::CPUCore::CachedInterpreter:
|
||||
g_jit = new CachedInterpreter();
|
||||
g_jit = new CachedInterpreter(system);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user