Sfoglia il codice sorgente

Kernel: Add comment about the extended linear heap area

Yuri Kunde Schlesner 9 anni fa
parent
commit
90b8d4dd36
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/core/hle/kernel/process.cpp

+ 2 - 0
src/core/hle/kernel/process.cpp

@@ -151,6 +151,8 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) {
 }
 }
 
 
 VAddr Process::GetLinearHeapAreaAddress() const {
 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;
     return kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR;
 }
 }