diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-31 21:03:28 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-31 22:06:45 +0200 |
commit | b27ab46bde8bd0c376747284435fcfa2b35aea75 (patch) | |
tree | 7cc608033e61e4697bad475699d74c35c8bd5370 /src/core/loader | |
parent | Merge pull request #293 from N00byKing/drkthm (diff) | |
download | yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.gz yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.bz2 yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.lz yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.xz yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.zst yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/elf.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/nro.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/nso.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp index 0ba8c6fd2..e9f462196 100644 --- a/src/core/loader/elf.cpp +++ b/src/core/loader/elf.cpp @@ -414,7 +414,7 @@ ResultStatus AppLoader_ELF::Load(Kernel::SharedPtr<Kernel::Process>& process) { process->resource_limit = Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); - process->Run(codeset->entrypoint, 48, Memory::STACK_SIZE); + process->Run(codeset->entrypoint, 48, Memory::DEFAULT_STACK_SIZE); is_loaded = true; return ResultStatus::Success; diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 6dcd1ce48..b5133e4d6 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::STACK_SIZE); + process->Run(base_addr, 48, 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 100aa022e..3bc10ed0d 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::STACK_SIZE); + process->Run(Memory::PROCESS_IMAGE_VADDR, 48, Memory::DEFAULT_STACK_SIZE); is_loaded = true; return ResultStatus::Success; |