fixed initialize pid request

This commit is contained in:
Shyanne
2026-03-14 14:26:14 -04:00
parent f367334aaf
commit f4f43a0804

View File

@@ -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;
} }
} }