kernel: Improve GetInfo readability and update to 13.0.0 (#2900)
* kernel: Define InfoTYpe and make it less obscure when reading GetInfo Also map ThreadTickCount to 25 instead of 0xF0000002 like 13.x kernel. * kernel: Implement GetInfo IsApplication * kernel: Implement GetInfo FreeThreadCount
This commit is contained in:
parent
f39fce8f54
commit
2ab777885b
6 changed files with 98 additions and 47 deletions
|
@ -60,6 +60,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
|||
public KProcessCapabilities Capabilities { get; private set; }
|
||||
|
||||
public ulong TitleId { get; private set; }
|
||||
public bool IsApplication { get; private set; }
|
||||
public long Pid { get; private set; }
|
||||
|
||||
private long _creationTimestamp;
|
||||
|
@ -193,6 +194,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
|||
_memRegion = memRegion;
|
||||
_contextFactory = contextFactory ?? new ProcessContextFactory();
|
||||
_customThreadStart = customThreadStart;
|
||||
IsApplication = creationInfo.Flags.HasFlag(ProcessCreationFlags.IsApplication);
|
||||
|
||||
ulong personalMmHeapSize = GetPersonalMmHeapSize((ulong)creationInfo.SystemResourcePagesCount, memRegion);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue