mirror of https://github.com/PCSX2/pcsx2.git
Move GetCoreThread()/GetMTGS() to AppCoreThread.cpp
This commit is contained in:
parent
6b2a865e57
commit
4b2a81e7ff
|
@ -542,9 +542,9 @@ TraceLogFilters& SetTraceConfig();
|
|||
|
||||
#define THREAD_VU1 (EmuConfig.Cpu.Recompiler.EnableVU1 && EmuConfig.Speedhacks.vuThread)
|
||||
#define INSTANT_VU1 (EmuConfig.Speedhacks.vu1Instant)
|
||||
#define CHECK_EEREC (EmuConfig.Cpu.Recompiler.EnableEE && GetCpuProviders().IsRecAvailable_EE())
|
||||
#define CHECK_EEREC (EmuConfig.Cpu.Recompiler.EnableEE)
|
||||
#define CHECK_CACHE (EmuConfig.Cpu.Recompiler.EnableEECache)
|
||||
#define CHECK_IOPREC (EmuConfig.Cpu.Recompiler.EnableIOP && GetCpuProviders().IsRecAvailable_IOP())
|
||||
#define CHECK_IOPREC (EmuConfig.Cpu.Recompiler.EnableIOP)
|
||||
|
||||
//------------ SPECIAL GAME FIXES!!! ---------------
|
||||
#define CHECK_VUADDSUBHACK (EmuConfig.Gamefixes.VuAddSubHack) // Special Fix for Tri-ace games, they use an encryption algorithm that requires VU addi opcode to be bit-accurate.
|
||||
|
|
|
@ -42,6 +42,15 @@ __aligned16 AppCoreThread CoreThread;
|
|||
|
||||
typedef void (AppCoreThread::*FnPtr_CoreThreadMethod)();
|
||||
|
||||
SysCoreThread& GetCoreThread()
|
||||
{
|
||||
return CoreThread;
|
||||
}
|
||||
|
||||
SysMtgsThread& GetMTGS()
|
||||
{
|
||||
return mtgsThread;
|
||||
}
|
||||
|
||||
namespace GameInfo
|
||||
{
|
||||
|
|
|
@ -1100,16 +1100,6 @@ SysMainMemory& GetVmMemory()
|
|||
return wxGetApp().GetVmReserve();
|
||||
}
|
||||
|
||||
SysCoreThread& GetCoreThread()
|
||||
{
|
||||
return CoreThread;
|
||||
}
|
||||
|
||||
SysMtgsThread& GetMTGS()
|
||||
{
|
||||
return mtgsThread;
|
||||
}
|
||||
|
||||
SysCpuProviderPack& GetCpuProviders()
|
||||
{
|
||||
return *wxGetApp().m_CpuProviders;
|
||||
|
|
Loading…
Reference in New Issue