diff options
| author | 2018-03-14 22:08:15 -0400 | |
|---|---|---|
| committer | 2018-03-16 18:32:23 -0400 | |
| commit | 8581404482e31b6ef6adc522b303baddaec760ec (patch) | |
| tree | 816e82fbebfd41fbc55435b63b58fd5f50342b53 /src/core/loader/nro.cpp | |
| parent | memory: Add regions for map region, "new" map region, etc. (diff) | |
| download | yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.gz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.xz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.zip | |
kernel: Move stack region outside of application heap.
Diffstat (limited to 'src/core/loader/nro.cpp')
| -rw-r--r-- | src/core/loader/nro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 0dc06ccea..6dcd1ce48 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) { | |||
| 137 | process->address_mappings = default_address_mappings; | 137 | process->address_mappings = default_address_mappings; |
| 138 | process->resource_limit = | 138 | process->resource_limit = |
| 139 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); | 139 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); |
| 140 | process->Run(base_addr, 48, Kernel::DEFAULT_STACK_SIZE); | 140 | process->Run(base_addr, 48, Memory::STACK_SIZE); |
| 141 | 141 | ||
| 142 | is_loaded = true; | 142 | is_loaded = true; |
| 143 | return ResultStatus::Success; | 143 | return ResultStatus::Success; |