diff options
author | Subv <subv2112@gmail.com> | 2017-08-12 17:16:35 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-09-15 21:26:22 +0200 |
commit | 7a3ab7c63ddcc79e9dfa46ae0347065f66052105 (patch) | |
tree | c3ef9a5936819a024e9acd4eae4de6c395ed4ac5 /src/core/arm/dynarmic/arm_dynarmic.cpp | |
parent | Tests/VFP: Use a standalone pagetable for the TestEnvironment memory operations. (diff) | |
download | yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar.gz yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar.bz2 yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar.lz yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar.xz yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.tar.zst yuzu-7a3ab7c63ddcc79e9dfa46ae0347065f66052105.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 7d2790b08..f2bd0d283 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -56,7 +56,9 @@ static Dynarmic::UserCallbacks GetUserCallbacks( user_callbacks.memory.Write16 = &Memory::Write16; user_callbacks.memory.Write32 = &Memory::Write32; 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); return user_callbacks; } |