diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-10 06:28:33 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-10 06:28:33 +0200 |
commit | fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438 (patch) | |
tree | d0773fbb4563392af144e5caf70a2c4c7664d58c /src/tests | |
parent | Merge pull request #2571 from lioncash/ref (diff) | |
download | yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar.gz yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar.bz2 yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar.lz yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar.xz yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.tar.zst yuzu-fc0bf91a969cddeb2f84c3e7c3a862fe98f1d438.zip |
Diffstat (limited to '')
-rw-r--r-- | src/tests/core/arm/arm_test_common.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/core/arm/arm_test_common.cpp b/src/tests/core/arm/arm_test_common.cpp index 58af41f6e..ac7ae3e52 100644 --- a/src/tests/core/arm/arm_test_common.cpp +++ b/src/tests/core/arm/arm_test_common.cpp @@ -16,7 +16,8 @@ namespace ArmTests { TestEnvironment::TestEnvironment(bool mutable_memory_) : mutable_memory(mutable_memory_), test_memory(std::make_shared<TestMemory>(this)), kernel{Core::System::GetInstance()} { - auto process = Kernel::Process::Create(Core::System::GetInstance(), ""); + auto process = Kernel::Process::Create(Core::System::GetInstance(), "", + Kernel::Process::ProcessType::Userland); page_table = &process->VMManager().page_table; std::fill(page_table->pointers.begin(), page_table->pointers.end(), nullptr); |