From 986108715dc57246443f4dfd30883b657b4634be Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 9 Jan 2016 14:57:50 -0500 Subject: [PATCH] JitInterface: Get rid of a global variable --- Source/Core/Core/PowerPC/JitInterface.cpp | 4 +--- Source/Core/Core/PowerPC/JitInterface.h | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index 863605ebd9..96689c415a 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -34,7 +34,6 @@ #endif static bool bFakeVMEM = false; -bool bMMU = false; namespace JitInterface { @@ -45,8 +44,7 @@ namespace JitInterface } CPUCoreBase *InitJitCore(int core) { - bMMU = SConfig::GetInstance().bMMU; - bFakeVMEM = !bMMU; + bFakeVMEM = !SConfig::GetInstance().bMMU; CPUCoreBase *ptr = nullptr; switch (core) diff --git a/Source/Core/Core/PowerPC/JitInterface.h b/Source/Core/Core/PowerPC/JitInterface.h index bc5601a769..e73cc9c8f0 100644 --- a/Source/Core/Core/PowerPC/JitInterface.h +++ b/Source/Core/Core/PowerPC/JitInterface.h @@ -44,5 +44,3 @@ namespace JitInterface void Shutdown(); } -extern bool bMMU; -