mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 17:35:46 +00:00
[dynarmic] windows fixes
This commit is contained in:
parent
d829334400
commit
1ae2ba518c
2 changed files with 6 additions and 6 deletions
|
@ -210,9 +210,9 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
|
||||||
|
|
||||||
// Code cache size
|
// Code cache size
|
||||||
#ifdef ARCHITECTURE_arm64
|
#ifdef ARCHITECTURE_arm64
|
||||||
config.code_cache_size = 128_MiB;
|
config.code_cache_size = std::uint32_t(128_MiB);
|
||||||
#else
|
#else
|
||||||
config.code_cache_size = 512_MiB;
|
config.code_cache_size = std::uint32_t(512_MiB);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Allow memory fault handling to work
|
// Allow memory fault handling to work
|
||||||
|
@ -223,7 +223,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
|
||||||
// null_jit
|
// null_jit
|
||||||
if (!page_table) {
|
if (!page_table) {
|
||||||
// Don't waste too much memory on null_jit
|
// Don't waste too much memory on null_jit
|
||||||
config.code_cache_size = 8_MiB;
|
config.code_cache_size = std::uint32_t(8_MiB);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Safe optimizations
|
// Safe optimizations
|
||||||
|
|
|
@ -269,9 +269,9 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
|
||||||
|
|
||||||
// Code cache size
|
// Code cache size
|
||||||
#ifdef ARCHITECTURE_arm64
|
#ifdef ARCHITECTURE_arm64
|
||||||
config.code_cache_size = 128_MiB;
|
config.code_cache_size = std::uint32_t(128_MiB);
|
||||||
#else
|
#else
|
||||||
config.code_cache_size = 512_MiB;
|
config.code_cache_size = std::uint32_t(512_MiB);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Allow memory fault handling to work
|
// Allow memory fault handling to work
|
||||||
|
@ -282,7 +282,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
|
||||||
// null_jit
|
// null_jit
|
||||||
if (!page_table) {
|
if (!page_table) {
|
||||||
// Don't waste too much memory on null_jit
|
// Don't waste too much memory on null_jit
|
||||||
config.code_cache_size = 8_MiB;
|
config.code_cache_size = std::uint32_t(8_MiB);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Safe optimizations
|
// Safe optimizations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue