diff options
| author | 2018-03-31 15:03:28 -0400 | |
|---|---|---|
| committer | 2018-03-31 16:06:45 -0400 | |
| commit | b27ab46bde8bd0c376747284435fcfa2b35aea75 (patch) | |
| tree | 7cc608033e61e4697bad475699d74c35c8bd5370 /src/core/loader/elf.cpp | |
| parent | Merge pull request #293 from N00byKing/drkthm (diff) | |
| download | yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.gz yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.xz yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.zip | |
memory: Fix stack region.
Diffstat (limited to 'src/core/loader/elf.cpp')
| -rw-r--r-- | src/core/loader/elf.cpp | 2 |
1 files changed, 1 insertions, 1 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) { | |||
| 414 | process->resource_limit = | 414 | process->resource_limit = |
| 415 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); | 415 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); |
| 416 | 416 | ||
| 417 | process->Run(codeset->entrypoint, 48, Memory::STACK_SIZE); | 417 | process->Run(codeset->entrypoint, 48, Memory::DEFAULT_STACK_SIZE); |
| 418 | 418 | ||
| 419 | is_loaded = true; | 419 | is_loaded = true; |
| 420 | return ResultStatus::Success; | 420 | return ResultStatus::Success; |