Explorar el Código

Kernel: Fix wrong linear heap base on titles using newer kernels

Typo which sneaked in through review on #1025
Yuri Kunde Schlesner hace 11 años
padre
commit
0ee3e2c25e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/hle/kernel/process.cpp

+ 1 - 1
src/core/hle/kernel/process.cpp

@@ -129,7 +129,7 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) {
 }
 
 VAddr Process::GetLinearHeapBase() const {
-    return (kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_SIZE)
+    return (kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR)
             + memory_region->base;
 }