PowerPC/Jit: Create fastmem arena on init.

This commit is contained in:
degasus
2019-11-27 11:01:56 +01:00
parent ccbadf6e72
commit c6019f9814
5 changed files with 8 additions and 4 deletions

View File

@ -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;
}

View File

@ -48,6 +48,7 @@ protected:
bool optimizeGatherPipe;
bool accurateSinglePrecision;
bool fastmem;
bool fastmem_arena;
bool memcheck;
bool profile_blocks;
};