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:
CrystalGamma
2018-12-02 14:16:17 +01:00
parent 3fa81f39fb
commit 2f490e44fb
14 changed files with 57 additions and 41 deletions

View File

@ -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)