mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
stop using g_jit outside of JitInterface
Replace g_jit in x86-64 ASM routines code by m_jit member reference
This commit is contained in:
@ -40,6 +40,11 @@
|
||||
|
||||
namespace JitInterface
|
||||
{
|
||||
static JitBase* g_jit = nullptr;
|
||||
void SetJit(JitBase* jit)
|
||||
{
|
||||
g_jit = jit;
|
||||
}
|
||||
void DoState(PointerWrap& p)
|
||||
{
|
||||
if (g_jit && p.GetMode() == PointerWrap::MODE_READ)
|
||||
|
Reference in New Issue
Block a user