mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-29 05:40:54 -05:00
Removed the MMU Speed Hack option. The TLBHack is now enabled if the MMU option is disabled. This will help catch cases where a game requires the TLBHack but the option has not been set in the game ini. It also removes the possibility to mistakenly enable both the MMU and TLBHack.
This commit is contained in:
@@ -43,8 +43,7 @@ namespace Memory
|
||||
// LOCAL SETTINGS
|
||||
// ----------------
|
||||
|
||||
/* Enable the Translation Lookaside Buffer functions. TLBHack = 1 in Dolphin.ini or a
|
||||
<GameID>.ini file will set this to true */
|
||||
// Enable the Translation Lookaside Buffer functions.
|
||||
bool bFakeVMEM = false;
|
||||
static bool bMMU = false;
|
||||
// ==============
|
||||
@@ -143,8 +142,8 @@ static const int num_views = sizeof(views) / sizeof(MemoryView);
|
||||
void Init()
|
||||
{
|
||||
bool wii = SConfig::GetInstance().m_LocalCoreStartupParameter.bWii;
|
||||
bFakeVMEM = SConfig::GetInstance().m_LocalCoreStartupParameter.bTLBHack == true;
|
||||
bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
|
||||
bFakeVMEM = !bMMU;
|
||||
|
||||
u32 flags = 0;
|
||||
if (wii) flags |= MV_WII_ONLY;
|
||||
|
||||
Reference in New Issue
Block a user