Merge pull request #3241 from wwylele/process-info-fix

svc: correct GetProcessInfo(20)
This commit is contained in:
James Rowe 2017-12-08 13:13:26 -07:00 committed by GitHub
commit af45f2b2de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: