[dynarmic] increase cache code size
Some checks failed
eden-license / license-header (pull_request) Failing after 18s
Some checks failed
eden-license / license-header (pull_request) Failing after 18s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
2383195ca6
commit
84ca484c65
2 changed files with 8 additions and 0 deletions
|
@ -211,7 +211,11 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
|
|||
config.enable_cycle_counting = !m_uses_wall_clock;
|
||||
|
||||
// Code cache size - max in ARM is 128MiB, max in x86_64 is 2GiB
|
||||
#ifdef ARCHITECTURE_arm64
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
#else
|
||||
config.code_cache_size = std::uint32_t(512_MiB);
|
||||
#endif
|
||||
|
||||
// Allow memory fault handling to work
|
||||
if (m_system.DebuggerEnabled()) {
|
||||
|
|
|
@ -270,7 +270,11 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
|
|||
config.enable_cycle_counting = !m_uses_wall_clock;
|
||||
|
||||
// Code cache size - max in ARM is 128MiB, max in x86_64 is 2GiB
|
||||
#ifdef ARCHITECTURE_arm64
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
#else
|
||||
config.code_cache_size = std::uint32_t(512_MiB);
|
||||
#endif
|
||||
|
||||
// Allow memory fault handling to work
|
||||
if (m_system.DebuggerEnabled()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue