From 0ee3e2c25ebb44fbefd8bd0e228868f281c289f7 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Thu, 27 Aug 2015 23:52:40 -0300 Subject: Kernel: Fix wrong linear heap base on titles using newer kernels Typo which sneaked in through review on #1025 --- src/core/hle/kernel/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle') diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 6279a4bf8..c2b4963d4 100644 --- a/src/core/hle/kernel/process.cpp +++ b/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; } -- cgit v1.2.3