mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
check for HandleDesc
HandleDesc can be null, make sure to check for that. Co-authored-by: LotP1 <68976644+LotP1@users.noreply.github.com>
This commit is contained in:
committed by
KeatonTheBot
co-authored by
LotP1
parent
8d7d8f344c
commit
43b4f3bf12
@@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS
|
|||||||
public IpcMessage Response { get; }
|
public IpcMessage Response { get; }
|
||||||
public BinaryReader RequestData { get; }
|
public BinaryReader RequestData { get; }
|
||||||
public BinaryWriter ResponseData { get; }
|
public BinaryWriter ResponseData { get; }
|
||||||
public ulong ClientProcessId => Request.HandleDesc.HasPId ? Request.HandleDesc.PId : Process.Pid;
|
public ulong ClientProcessId => Request.HandleDesc is { HasPId: true } ? Request.HandleDesc.PId : Process.Pid;
|
||||||
|
|
||||||
public ServiceCtx(
|
public ServiceCtx(
|
||||||
Switch device,
|
Switch device,
|
||||||
|
|||||||
Reference in New Issue
Block a user