summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-10 06:28:33 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-10 06:28:33 +0200
commitfc0bf91a969cddeb2f84c3e7c3a862fe98f1d438 (patch)
treed0773fbb4563392af144e5caf70a2c4c7664d58c /src/tests
parentMerge pull request #2571 from lioncash/ref (diff)
downloadyuzu-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.cpp3
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);