mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
PowerPC/Jit: Create fastmem arena on init.
This commit is contained in:
@ -45,6 +45,6 @@ bool JitBase::CanMergeNextInstructions(int count) const
|
||||
void JitBase::UpdateMemoryOptions()
|
||||
{
|
||||
bool any_watchpoints = PowerPC::memchecks.HasAny();
|
||||
jo.fastmem = SConfig::GetInstance().bFastmem && (MSR.DR || !any_watchpoints);
|
||||
jo.fastmem = SConfig::GetInstance().bFastmem && jo.fastmem_arena && (MSR.DR || !any_watchpoints);
|
||||
jo.memcheck = SConfig::GetInstance().bMMU || any_watchpoints;
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ protected:
|
||||
bool optimizeGatherPipe;
|
||||
bool accurateSinglePrecision;
|
||||
bool fastmem;
|
||||
bool fastmem_arena;
|
||||
bool memcheck;
|
||||
bool profile_blocks;
|
||||
};
|
||||
|
Reference in New Issue
Block a user