strat: fixes for compat with latest libnx

This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-07 12:41:28 -08:00
1 parent c6b9a0c4bf
commit 1636668762
12 files changed
+35 -34

No files matched your search

@@ -86,8 +86,7 @@ namespace ams::ro::impl {
R_ASSERT(svcGetInfo(&title_id.value, InfoType_TitleId, process_h, 0));
} else {
/* 1.0.0-2.3.0: We're not inside loader, so ask pm. */
os::ProcessId process_id = os::GetProcessId(process_h);
R_ASSERT(pminfoGetTitleId(&title_id.value, process_id.value));
R_ASSERT(pm::info::GetTitleId(&title_id, os::GetProcessId(process_h)));
}
return title_id;
}