Browse Source

Use 4MB cache size instead of 1MB

nce_cpp
MrPurple666 8 months ago
parent
commit
476e0fe432
  1. 2
      src/core/arm/nce/patcher.h

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

Loading…
Cancel
Save