summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-08-12 17:16:35 +0200
committerSubv <subv2112@gmail.com>2017-09-15 21:26:22 +0200
commit7a3ab7c63ddcc79e9dfa46ae0347065f66052105 (patch)
treec3ef9a5936819a024e9acd4eae4de6c395ed4ac5 /src/core
parentTests/VFP: Use a standalone pagetable for the TestEnvironment memory operations. (diff)
downloadyuzu-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.cpp4
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;
}