VERY experimental Nintendo Switch 2 emulator
C++
Use 4MB cache size instead of 1MB
MrPurple666476e0fe43285
diff --git a/src/core/arm/nce/patcher.h b/src/core/arm/nce/patcher.hindex 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 entriesLRUCache<uintptr_t, PatchTextAddress> patch_cache{CACHE_SIZE};void BranchToPatch(uintptr_t module_dest) {