summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-01-09 14:57:50 -0500
committerLioncash <mathew1800@gmail.com>2016-01-09 14:57:50 -0500
commit986108715dc57246443f4dfd30883b657b4634be (patch)
treed215610b9c18d045dc6fb7bff6b43c03d34e871a /Source/Core
parent97475e5e6a4f100ab878ebbfecab24cb33f0611a (diff)
JitInterface: Get rid of a global variable
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/JitInterface.cpp4
-rw-r--r--Source/Core/Core/PowerPC/JitInterface.h2
2 files changed, 1 insertions, 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;
-