mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 15:57:51 +00:00
Use a different approach for the LRU toggle
This commit is contained in:
parent
b5bec371ae
commit
bb2f527b16
3 changed files with 23 additions and 9 deletions
|
@ -23,6 +23,8 @@ constexpr size_t MaxRelativeBranch = 128_MiB;
|
|||
constexpr u32 ModuleCodeIndex = 0x24 / sizeof(u32);
|
||||
|
||||
Patcher::Patcher() : c(m_patch_instructions) {
|
||||
LOG_WARNING(Core_ARM, "Patcher initialized with LRU cache {}",
|
||||
patch_cache.isEnabled() ? "enabled" : "disabled");
|
||||
// The first word of the patch section is always a branch to the first instruction of the
|
||||
// module.
|
||||
c.dw(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue