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 82210ab480
commit bbe57a66ca
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;
}