summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-06-21 19:34:12 +0200
committerGitHub <noreply@github.com>2017-06-21 19:34:12 +0200
commitc4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db (patch)
treea861dcb99fc789a22a6df9878fceae3b63cf0a18 /src/core/hle
parentMerge pull request #2790 from yuriks/remove-movefrom (diff)
parentMemory: Add enum definitions for the n3DS FCRAM size (diff)
downloadyuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar.gz
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar.bz2
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar.lz
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar.xz
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.tar.zst
yuzu-c4f0927a62b0f31cf9ab6c0fe760c491e6c9b3db.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/process.cpp2
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) {
}
VAddr Process::GetLinearHeapAreaAddress() const {
+ // Starting from system version 8.0.0 a new linear heap layout is supported to allow usage of
+ // the extra RAM in the n3DS.
return kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR;
}