mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-17 05:43:15 +00:00
reduce fiber sizes
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
namespace Common {
|
||||
|
||||
#ifdef __OPENORBIS__
|
||||
constexpr size_t DEFAULT_STACK_SIZE = 256 * 4096;
|
||||
constexpr size_t DEFAULT_STACK_SIZE = 32 * 4096;
|
||||
#else
|
||||
constexpr size_t DEFAULT_STACK_SIZE = 512 * 4096;
|
||||
#endif
|
||||
|
||||
@@ -200,7 +200,7 @@ void ArmDynarmic32::MakeJit(Common::PageTable* page_table) {
|
||||
|
||||
// Code cache size
|
||||
#if defined(__OPENORBIS__)
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
config.code_cache_size = std::uint32_t(8_MiB);
|
||||
#elif defined(ARCHITECTURE_arm64) || defined(__sun__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
#else
|
||||
|
||||
@@ -253,7 +253,7 @@ void ArmDynarmic64::MakeJit(Common::PageTable* page_table, std::size_t address_s
|
||||
|
||||
// Code cache size
|
||||
#if defined(__OPENORBIS__)
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
config.code_cache_size = std::uint32_t(8_MiB);
|
||||
#elif defined(ARCHITECTURE_arm64) || defined(__sun__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
||||
config.code_cache_size = std::uint32_t(128_MiB);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user