summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-13 21:57:45 +0200
committerLioncash <mathew1800@gmail.com>2018-09-13 22:05:57 +0200
commit2ea45fe75b34ef01d4ef5ced825eddded21d1d33 (patch)
treed79664ce2f73c5d6fbc7277f757948a0d5043e90 /src/core/loader
parentMerge pull request #1308 from valentinvanelslande/ipc (diff)
downloadyuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar.gz
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar.bz2
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar.lz
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar.xz
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.tar.zst
yuzu-2ea45fe75b34ef01d4ef5ced825eddded21d1d33.zip
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/nro.cpp2
-rw-r--r--src/core/loader/nso.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp
index bb89a9da3..c49ec34ab 100644
--- a/src/core/loader/nro.cpp
+++ b/src/core/loader/nro.cpp
@@ -191,7 +191,7 @@ ResultStatus AppLoader_NRO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
process->svc_access_mask.set();
process->resource_limit =
kernel.ResourceLimitForCategory(Kernel::ResourceLimitCategory::APPLICATION);
- process->Run(base_addr, THREADPRIO_DEFAULT, Memory::DEFAULT_STACK_SIZE);
+ process->Run(base_addr, Kernel::THREADPRIO_DEFAULT, Memory::DEFAULT_STACK_SIZE);
is_loaded = true;
return ResultStatus::Success;
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 082a95d40..3c6306818 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -157,7 +157,8 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
process->svc_access_mask.set();
process->resource_limit =
kernel.ResourceLimitForCategory(Kernel::ResourceLimitCategory::APPLICATION);
- process->Run(Memory::PROCESS_IMAGE_VADDR, THREADPRIO_DEFAULT, Memory::DEFAULT_STACK_SIZE);
+ process->Run(Memory::PROCESS_IMAGE_VADDR, Kernel::THREADPRIO_DEFAULT,
+ Memory::DEFAULT_STACK_SIZE);
is_loaded = true;
return ResultStatus::Success;