Merge pull request #1356 from Sonicadvance1/fix-32bit
Disable the fake vmem hack on 32bit targets.
This commit is contained in:
commit
ec1d6c4de5
|
@ -143,7 +143,11 @@ void Init()
|
||||||
{
|
{
|
||||||
bool wii = SConfig::GetInstance().m_LocalCoreStartupParameter.bWii;
|
bool wii = SConfig::GetInstance().m_LocalCoreStartupParameter.bWii;
|
||||||
bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
|
bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
|
||||||
|
#ifndef _ARCH_32
|
||||||
|
// The fake VMEM hack's address space is above the memory space that we allocate on 32bit targets
|
||||||
|
// Disable it entirely on 32bit targets.
|
||||||
bFakeVMEM = !bMMU;
|
bFakeVMEM = !bMMU;
|
||||||
|
#endif
|
||||||
|
|
||||||
u32 flags = 0;
|
u32 flags = 0;
|
||||||
if (wii) flags |= MV_WII_ONLY;
|
if (wii) flags |= MV_WII_ONLY;
|
||||||
|
|
Loading…
Reference in New Issue