From 5026480b360578566732acfbe3ef90e145a53564 Mon Sep 17 00:00:00 2001 From: wwylele Date: Fri, 8 Dec 2017 21:28:48 +0200 Subject: [PATCH] svc: correct GetProcessInfo(20) --- src/core/hle/svc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 7dbd07d1c8..7e637b4267 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -1268,7 +1268,7 @@ static ResultCode GetProcessInfo(s64* out, Kernel::Handle process_handle, u32 ty LOG_ERROR(Kernel_SVC, "unimplemented GetProcessInfo type=%u", type); break; case 20: - *out = Memory::FCRAM_PADDR - process->GetLinearHeapBase(); + *out = Memory::FCRAM_PADDR - process->GetLinearHeapAreaAddress(); break; case 21: case 22: