backend: x64: block_of_code: Double the total code size. (#595)
- The current limits are being hit in yuzu with some games (e.g. newer updates of BotW and SSBU). - Increasing this fixes slow-downs in these games due to code being recompiled.
This commit is contained in:
parent
c4cff773b9
commit
1819c2183f
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ const std::array<Xbyak::Reg64, 6> BlockOfCode::ABI_PARAMS = {BlockOfCode::ABI_PA
|
|||
|
||||
namespace {
|
||||
|
||||
constexpr size_t TOTAL_CODE_SIZE = 128 * 1024 * 1024;
|
||||
constexpr size_t FAR_CODE_OFFSET = 100 * 1024 * 1024;
|
||||
constexpr size_t TOTAL_CODE_SIZE = 256 * 1024 * 1024;
|
||||
constexpr size_t FAR_CODE_OFFSET = 200 * 1024 * 1024;
|
||||
constexpr size_t CONSTANT_POOL_SIZE = 2 * 1024 * 1024;
|
||||
|
||||
class CustomXbyakAllocator : public Xbyak::Allocator {
|
||||
|
|
Loading…
Reference in a new issue