diff options
| author | 2017-06-18 18:38:40 -0700 | |
|---|---|---|
| committer | 2017-06-18 18:38:40 -0700 | |
| commit | 90b8d4dd367db6a69c32584c9a0e762de883706e (patch) | |
| tree | 4f4287bc5d6dec3044a393c9805576cc9633b138 /src | |
| parent | Merge pull request #2776 from wwylele/geo-factor (diff) | |
| download | yuzu-90b8d4dd367db6a69c32584c9a0e762de883706e.tar.gz yuzu-90b8d4dd367db6a69c32584c9a0e762de883706e.tar.xz yuzu-90b8d4dd367db6a69c32584c9a0e762de883706e.zip | |
Kernel: Add comment about the extended linear heap area
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 1c31ec950..522ad2333 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -151,6 +151,8 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) { | |||
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | VAddr Process::GetLinearHeapAreaAddress() const { | 153 | VAddr Process::GetLinearHeapAreaAddress() const { |
| 154 | // Starting from system version 8.0.0 a new linear heap layout is supported to allow usage of | ||
| 155 | // the extra RAM in the n3DS. | ||
| 154 | return kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR; | 156 | return kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR; |
| 155 | } | 157 | } |
| 156 | 158 | ||