mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Merge pull request #3486 from lioncash/jitinterface
JitInterface: Get rid of a global variable
This commit is contained in:
commit
529e04b009
@ -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)
|
||||
|
@ -44,5 +44,3 @@ namespace JitInterface
|
||||
|
||||
void Shutdown();
|
||||
}
|
||||
extern bool bMMU;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user