From 476e0fe43285b63d6d7d35ceb7e64acd82298c71 Mon Sep 17 00:00:00 2001 From: MrPurple666 Date: Mon, 28 Apr 2025 16:38:44 -0300 Subject: [PATCH] Use 4MB cache size instead of 1MB --- src/core/arm/nce/patcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/arm/nce/patcher.h b/src/core/arm/nce/patcher.h index 21ea7fd2a1..6a6bcf24d5 100644 --- a/src/core/arm/nce/patcher.h +++ b/src/core/arm/nce/patcher.h @@ -61,7 +61,7 @@ private: void WriteCntpctHandler(ModuleDestLabel module_dest, oaknut::XReg dest_reg); private: - static constexpr size_t CACHE_SIZE = 1024; // Cache size for patch entries + static constexpr size_t CACHE_SIZE = 4096; // Cache size for patch entries LRUCache patch_cache{CACHE_SIZE}; void BranchToPatch(uintptr_t module_dest) {