mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Add fastmem arena setting
Just for debugging.
This commit is contained in:
@ -251,8 +251,7 @@ bool Jit64::BackPatch(SContext* ctx)
|
||||
|
||||
void Jit64::Init()
|
||||
{
|
||||
auto& memory = m_system.GetMemory();
|
||||
jo.fastmem_arena = memory.InitFastmemArena();
|
||||
InitFastmemArena();
|
||||
|
||||
RefreshConfig();
|
||||
|
||||
|
@ -47,8 +47,7 @@ JitArm64::~JitArm64() = default;
|
||||
|
||||
void JitArm64::Init()
|
||||
{
|
||||
auto& memory = m_system.GetMemory();
|
||||
jo.fastmem_arena = memory.InitFastmemArena();
|
||||
InitFastmemArena();
|
||||
|
||||
RefreshConfig();
|
||||
|
||||
|
@ -140,6 +140,12 @@ void JitBase::RefreshConfig()
|
||||
jo.div_by_zero_exceptions = m_enable_div_by_zero_exceptions;
|
||||
}
|
||||
|
||||
void JitBase::InitFastmemArena()
|
||||
{
|
||||
auto& memory = m_system.GetMemory();
|
||||
jo.fastmem_arena = Config::Get(Config::MAIN_FASTMEM_ARENA) && memory.InitFastmemArena();
|
||||
}
|
||||
|
||||
void JitBase::InitBLROptimization()
|
||||
{
|
||||
m_enable_blr_optimization =
|
||||
|
@ -166,6 +166,8 @@ protected:
|
||||
bool DoesConfigNeedRefresh();
|
||||
void RefreshConfig();
|
||||
|
||||
void InitFastmemArena();
|
||||
|
||||
void InitBLROptimization();
|
||||
void ProtectStack();
|
||||
void UnprotectStack();
|
||||
|
Reference in New Issue
Block a user