summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
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/core/core.cpp
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/core/core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index ff0721079..d808c0417 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -150,7 +150,8 @@ struct System::Impl {
}
telemetry_session->AddInitialInfo(*app_loader);
- auto main_process = Kernel::Process::Create(system, "main");
+ auto main_process =
+ Kernel::Process::Create(system, "main", Kernel::Process::ProcessType::Userland);
const auto [load_result, load_parameters] = app_loader->Load(*main_process);
if (load_result != Loader::ResultStatus::Success) {
LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", static_cast<int>(load_result));