summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-24 05:19:35 +0200
committerLioncash <mathew1800@gmail.com>2018-07-24 05:19:37 +0200
commit7d124ec82b9339a4cc427eb0867af6b65fc78985 (patch)
treed080c6d7a2969aa1cd95ac4903acf7dab33c66b0
parentMerge pull request #790 from bunnei/shader-print-instr (diff)
downloadyuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar.gz
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar.bz2
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar.lz
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar.xz
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.tar.zst
yuzu-7d124ec82b9339a4cc427eb0867af6b65fc78985.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp4
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index d23adb28a..57b8634b9 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -102,8 +102,8 @@ public:
u64 tpidr_el0 = 0;
};
-std::unique_ptr<Dynarmic::A64::Jit> ARM_Dynarmic::MakeJit() {
- const auto page_table = Core::CurrentProcess()->vm_manager.page_table.pointers.data();
+std::unique_ptr<Dynarmic::A64::Jit> ARM_Dynarmic::MakeJit() const {
+ auto** const page_table = Core::CurrentProcess()->vm_manager.page_table.pointers.data();
Dynarmic::A64::UserConfig config;
diff --git a/src/core/arm/dynarmic/arm_dynarmic.h b/src/core/arm/dynarmic/arm_dynarmic.h
index 350f61fd2..14c072601 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.h
+++ b/src/core/arm/dynarmic/arm_dynarmic.h
@@ -50,7 +50,7 @@ public:
void PageTableChanged() override;
private:
- std::unique_ptr<Dynarmic::A64::Jit> MakeJit();
+ std::unique_ptr<Dynarmic::A64::Jit> MakeJit() const;
friend class ARM_Dynarmic_Callbacks;
std::unique_ptr<ARM_Dynarmic_Callbacks> cb;