mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-21 05:13:14 +02:00
HLE: Implement missing service calls needed for Xenoblade Chronicles X DE
This commit is contained in:
parent
c229d458e7
commit
d4bf7d3c2b
1 changed files with 44 additions and 0 deletions
|
@ -9,6 +9,7 @@ using System.Runtime.InteropServices;
|
|||
namespace Ryujinx.HLE.HOS.Services.Ssl
|
||||
{
|
||||
[Service("ssl")]
|
||||
[Service("ssl:s")]
|
||||
class ISslService : IpcService
|
||||
{
|
||||
// NOTE: The SSL service is used by games to connect it to various official online services, which we do not intend to support.
|
||||
|
@ -123,5 +124,48 @@ namespace Ryujinx.HLE.HOS.Services.Ssl
|
|||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandCmif(100)]
|
||||
// CreateContextForSystem(u64 pid, nn::ssl::sf::SslVersion, u64)
|
||||
public ResultCode CreateContextForSystem(ServiceCtx context)
|
||||
{
|
||||
ulong pid = context.RequestData.ReadUInt64();
|
||||
SslVersion sslVersion = (SslVersion)context.RequestData.ReadUInt32();
|
||||
ulong pidPlaceholder = context.RequestData.ReadUInt64();
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { pid, sslVersion, pidPlaceholder });
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandCmif(101)]
|
||||
// SetThreadCoreMask(u64 mask)
|
||||
public ResultCode SetThreadCoreMask(ServiceCtx context)
|
||||
{
|
||||
ulong mask = context.RequestData.ReadUInt64();
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { mask });
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandCmif(102)]
|
||||
// GetThreadCoreMask() -> u64
|
||||
public ResultCode GetThreadCoreMask(ServiceCtx context)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceSsl);
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandCmif(103)]
|
||||
// VerifySignature(buffer<0x5> unknownInput1, buffer<0x5> unknownInput2, buffer<0x5> unknownInput3, buffer<bytes, 4> unknown1)
|
||||
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);
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue