diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-13 22:49:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-14 23:42:19 +0100 |
commit | 7d6653268f68dea8bc39288e3a27bc499b7b8154 (patch) | |
tree | 6330442e1dacc0d850ce09c35dcee7ddd3a2bc9d /src/core/arm | |
parent | Merge pull request #213 from Hexagon12/dynarmic-default (diff) | |
download | yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.gz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.bz2 yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.lz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.xz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.zst yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.zip |
Diffstat (limited to 'src/core/arm')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index e7f6bf8c2..4da07b177 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -8,6 +8,7 @@ #include <dynarmic/A64/config.h> #include "common/logging/log.h" #include "core/arm/dynarmic/arm_dynarmic.h" +#include "core/core.h" #include "core/core_timing.h" #include "core/hle/kernel/memory.h" #include "core/hle/kernel/svc.h" @@ -106,7 +107,7 @@ public: }; std::unique_ptr<Dynarmic::A64::Jit> MakeJit(const std::unique_ptr<ARM_Dynarmic_Callbacks>& cb) { - const auto page_table = Kernel::g_current_process->vm_manager.page_table.pointers.data(); + const auto page_table = Core::CurrentProcess()->vm_manager.page_table.pointers.data(); Dynarmic::A64::UserConfig config; config.callbacks = cb.get(); |