[dynarmic] windows fixes

This commit is contained in:
lizzie 2025-07-13 23:18:38 +01:00
parent d829334400
commit 1ae2ba518c
2 changed files with 6 additions and 6 deletions

View file

@ -210,9 +210,9 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
// Code cache size
#ifdef ARCHITECTURE_arm64
config.code_cache_size = 128_MiB;
config.code_cache_size = std::uint32_t(128_MiB);
#else
config.code_cache_size = 512_MiB;
config.code_cache_size = std::uint32_t(512_MiB);
#endif
// Allow memory fault handling to work
@ -223,7 +223,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
// null_jit
if (!page_table) {
// 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

View file

@ -269,9 +269,9 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
// Code cache size
#ifdef ARCHITECTURE_arm64
config.code_cache_size = 128_MiB;
config.code_cache_size = std::uint32_t(128_MiB);
#else
config.code_cache_size = 512_MiB;
config.code_cache_size = std::uint32_t(512_MiB);
#endif
// Allow memory fault handling to work
@ -282,7 +282,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
// null_jit
if (!page_table) {
// 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