diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-23 22:33:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 22:33:00 +0200 |
commit | 0214351f4f0e9377792f8ceb657e3a47aba334d1 (patch) | |
tree | f772d4dbaf3d804497740c6c67d1110f20fd010f /src/core/loader | |
parent | Merge pull request #384 from Subv/nvhost-remap (diff) | |
parent | Kernel: Implemented mutex priority inheritance. (diff) | |
download | yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar.gz yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar.bz2 yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar.lz yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar.xz yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.tar.zst yuzu-0214351f4f0e9377792f8ceb657e3a47aba334d1.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/nro.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/nso.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index b5133e4d6..3853cfa1a 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp @@ -137,7 +137,7 @@ ResultStatus AppLoader_NRO::Load(Kernel::SharedPtr<Kernel::Process>& process) { process->address_mappings = default_address_mappings; process->resource_limit = Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); - process->Run(base_addr, 48, Memory::DEFAULT_STACK_SIZE); + process->Run(base_addr, 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 3bc10ed0d..962bed2ab 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -165,7 +165,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) { process->address_mappings = default_address_mappings; process->resource_limit = Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); - process->Run(Memory::PROCESS_IMAGE_VADDR, 48, Memory::DEFAULT_STACK_SIZE); + process->Run(Memory::PROCESS_IMAGE_VADDR, THREADPRIO_DEFAULT, Memory::DEFAULT_STACK_SIZE); is_loaded = true; return ResultStatus::Success; |