Use 4MB cache size instead of 1MB

This commit is contained in:
MrPurple666 2025-04-28 16:38:44 -03:00
parent 0b35e89ab9
commit 476e0fe432

View file

@ -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<uintptr_t, PatchTextAddress> patch_cache{CACHE_SIZE};
void BranchToPatch(uintptr_t module_dest) {