Disable the fake vmem hack on 32bit targets.
This hack is incompatible with these targets due to how much memory space we allocate.
This commit is contained in:
parent
080883ad9e
commit
a22fcf152d
|
@ -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