Expose page table to dynarmic for optimized reads and writes to the JIT

This commit is contained in:
James Rowe 2016-11-24 12:42:32 -07:00
parent 5a580171b6
commit 13888eac06
3 changed files with 18 additions and 6 deletions

View file

@ -52,6 +52,7 @@ static Dynarmic::UserCallbacks GetUserCallbacks(ARMul_State* interpeter_state) {
user_callbacks.MemoryWrite16 = &Memory::Write16;
user_callbacks.MemoryWrite32 = &Memory::Write32;
user_callbacks.MemoryWrite64 = &Memory::Write64;
user_callbacks.page_table = Memory::GetCurrentPageTablePointers();
return user_callbacks;
}