mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-28 09:27:10 +02:00
Implement PM GetProcessInfo atmosphere extension (partially) (#2966)
This commit is contained in:
parent
07ac55cba8
commit
14fc757d98
6 changed files with 63 additions and 15 deletions
|
@ -59,5 +59,15 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{
|
||||
return GetCurrentThread().Owner;
|
||||
}
|
||||
|
||||
internal static KProcess GetProcessByPid(ulong pid)
|
||||
{
|
||||
if (Context.Processes.TryGetValue(pid, out KProcess process))
|
||||
{
|
||||
return process;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue