summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-01-09 22:15:45 +0100
committerPierre Bourdon <delroth@gmail.com>2016-01-09 22:15:45 +0100
commit529e04b0099f4083f0abc9b139bb1b93b72fec22 (patch)
tree1f08f06b63d957e58a9bf246319f44b1ea02ad63 /Source
parentaa89516cf3f847a0ca2ffff49e428f056e051078 (diff)
parent986108715dc57246443f4dfd30883b657b4634be (diff)
Merge pull request #3486 from lioncash/jitinterface
JitInterface: Get rid of a global variable
Diffstat (limited to 'Source')
-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;
-