HLE: Implement missing service calls needed for Xenoblade Chronicles X DE

This commit is contained in:
GreemDev 2025-03-20 01:06:55 -05:00
parent 20b36ac8a2
commit 3c8577c894

View file

@ -9,6 +9,7 @@ using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Ssl namespace Ryujinx.HLE.HOS.Services.Ssl
{ {
[Service("ssl")] [Service("ssl")]
[Service("ssl:s")]
class ISslService : IpcService 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. // 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,41 @@ namespace Ryujinx.HLE.HOS.Services.Ssl
return ResultCode.Success; return ResultCode.Success;
} }
[CommandCmif(100)]
public ResultCode CreateContextForSystem(ServiceCtx context)
{
SslVersion sslVersion = (SslVersion)context.RequestData.ReadUInt32();
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { sslVersion });
return ResultCode.Success;
}
[CommandCmif(101)]
public ResultCode SetThreadCoreMask(ServiceCtx context)
{
ulong mask = context.RequestData.ReadUInt64();
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { mask });
return ResultCode.Success;
}
[CommandCmif(102)]
public ResultCode GetThreadCoreMask(ServiceCtx context)
{
Logger.Stub?.PrintStub(LogClass.ServiceSsl);
return ResultCode.Success;
}
[CommandCmif(103)]
public ResultCode VerifySignature(ServiceCtx context)
{
Logger.Stub?.PrintStub(LogClass.ServiceSsl);
return ResultCode.Success;
}
} }
} }