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/tests/core/arm/arm_test_common.cpp | |
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 '')
-rw-r--r-- | src/tests/core/arm/arm_test_common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/core/arm/arm_test_common.cpp b/src/tests/core/arm/arm_test_common.cpp index 9296e1e94..7f9f27e19 100644 --- a/src/tests/core/arm/arm_test_common.cpp +++ b/src/tests/core/arm/arm_test_common.cpp @@ -15,8 +15,8 @@ static Memory::PageTable* page_table = nullptr; TestEnvironment::TestEnvironment(bool mutable_memory_) : mutable_memory(mutable_memory_), test_memory(std::make_shared<TestMemory>(this)) { - Kernel::g_current_process = Kernel::Process::Create("", 0); - page_table = &Kernel::g_current_process->vm_manager.page_table; + Core::CurrentProcess() = Kernel::Process::Create(""); + page_table = &Core::CurrentProcess()->vm_manager.page_table; page_table->pointers.fill(nullptr); page_table->special_regions.clear(); |