mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-05 20:09:15 +00:00
fixed initialize pid request
This commit is contained in:
@@ -23,10 +23,10 @@ namespace Ryujinx.HLE.HOS.Services.Notification
|
|||||||
// Initialize(PID-descriptor, u64 pid_reserved)
|
// Initialize(PID-descriptor, u64 pid_reserved)
|
||||||
public ResultCode Intialize(ServiceCtx context)
|
public ResultCode Intialize(ServiceCtx context)
|
||||||
{
|
{
|
||||||
ulong PID = context.Device.Processes.ActiveApplication.ProgramId;
|
ulong pid = context.Request.HandleDesc.PId;
|
||||||
ulong pid_reserved = context.Device.Processes.ActiveApplication.ProcessId;
|
context.RequestData.ReadUInt64(); // pid placeholder, zero
|
||||||
|
|
||||||
Logger.Stub?.PrintStub(LogClass.ServiceNotification, new { PID, pid_reserved });
|
Logger.Stub?.PrintStub(LogClass.ServiceNotification, new { pid });
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user