mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user