Log all data passed in CreateContextForSystem

This commit is contained in:
GreemDev 2025-03-20 01:52:45 -05:00
parent 422761e18f
commit 9562a7ce0a

View file

@ -129,9 +129,11 @@ namespace Ryujinx.HLE.HOS.Services.Ssl
// CreateContextForSystem(u64 pid, nn::ssl::sf::SslVersion, u64) // CreateContextForSystem(u64 pid, nn::ssl::sf::SslVersion, u64)
public ResultCode CreateContextForSystem(ServiceCtx context) public ResultCode CreateContextForSystem(ServiceCtx context)
{ {
ulong pid = context.RequestData.ReadUInt64();
SslVersion sslVersion = (SslVersion)context.RequestData.ReadUInt32(); SslVersion sslVersion = (SslVersion)context.RequestData.ReadUInt32();
ulong pidPlaceholder = context.RequestData.ReadUInt64();
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { sslVersion }); Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { pid, sslVersion, pidPlaceholder });
return ResultCode.Success; return ResultCode.Success;
} }
@ -160,6 +162,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl
// VerifySignature(buffer<0x5> unknownInput1, buffer<0x5> unknownInput2, buffer<0x5> unknownInput3, buffer<bytes, 4> unknown1) // VerifySignature(buffer<0x5> unknownInput1, buffer<0x5> unknownInput2, buffer<0x5> unknownInput3, buffer<bytes, 4> unknown1)
public ResultCode VerifySignature(ServiceCtx context) public ResultCode VerifySignature(ServiceCtx context)
{ {
// I would log these values like a proper stub, but I genuinely don't know how.
Logger.Stub?.PrintStub(LogClass.ServiceSsl); Logger.Stub?.PrintStub(LogClass.ServiceSsl);
return ResultCode.Success; return ResultCode.Success;