diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-13 21:57:45 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-13 22:05:57 +0200 |
commit | 2ea45fe75b34ef01d4ef5ced825eddded21d1d33 (patch) | |
tree | d79664ce2f73c5d6fbc7277f757948a0d5043e90 /src/core/loader | |
parent | Merge pull request #1308 from valentinvanelslande/ipc (diff) | |
download | yuzu-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.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/nso.cpp | 3 |
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; |