mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 14:42:52 +00:00
JitInterface: Get rid of a global variable
This commit is contained in:
parent
97475e5e6a
commit
986108715d
@ -34,7 +34,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool bFakeVMEM = false;
|
static bool bFakeVMEM = false;
|
||||||
bool bMMU = false;
|
|
||||||
|
|
||||||
namespace JitInterface
|
namespace JitInterface
|
||||||
{
|
{
|
||||||
@ -45,8 +44,7 @@ namespace JitInterface
|
|||||||
}
|
}
|
||||||
CPUCoreBase *InitJitCore(int core)
|
CPUCoreBase *InitJitCore(int core)
|
||||||
{
|
{
|
||||||
bMMU = SConfig::GetInstance().bMMU;
|
bFakeVMEM = !SConfig::GetInstance().bMMU;
|
||||||
bFakeVMEM = !bMMU;
|
|
||||||
|
|
||||||
CPUCoreBase *ptr = nullptr;
|
CPUCoreBase *ptr = nullptr;
|
||||||
switch (core)
|
switch (core)
|
||||||
|
@ -44,5 +44,3 @@ namespace JitInterface
|
|||||||
|
|
||||||
void Shutdown();
|
void Shutdown();
|
||||||
}
|
}
|
||||||
extern bool bMMU;
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user