mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 20:14:17 +01:00
CPU/Dynarmic: Disable the fast page-table access in dynarmic until it supports switching page tables at runtime.
This commit is contained in:
parent
3bde97ea05
commit
7a3ab7c63d
@ -56,7 +56,9 @@ static Dynarmic::UserCallbacks GetUserCallbacks(
|
|||||||
user_callbacks.memory.Write16 = &Memory::Write16;
|
user_callbacks.memory.Write16 = &Memory::Write16;
|
||||||
user_callbacks.memory.Write32 = &Memory::Write32;
|
user_callbacks.memory.Write32 = &Memory::Write32;
|
||||||
user_callbacks.memory.Write64 = &Memory::Write64;
|
user_callbacks.memory.Write64 = &Memory::Write64;
|
||||||
user_callbacks.page_table = Memory::GetCurrentPageTablePointers();
|
// TODO(Subv): Re-add the page table pointers once dynarmic supports switching page tables at
|
||||||
|
// runtime.
|
||||||
|
user_callbacks.page_table = nullptr;
|
||||||
user_callbacks.coprocessors[15] = std::make_shared<DynarmicCP15>(interpeter_state);
|
user_callbacks.coprocessors[15] = std::make_shared<DynarmicCP15>(interpeter_state);
|
||||||
return user_callbacks;
|
return user_callbacks;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user