From 56621615b1ca52822141862d660a661054fd6694 Mon Sep 17 00:00:00 2001 From: WilliamWsyHK Date: Wed, 19 Oct 2022 09:27:11 +0800 Subject: [PATCH] Implement the GetSessionCacheMode in SSL servuce (#3735) --- Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs index ff6586734e..726ee122db 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs @@ -349,7 +349,11 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService // GetSessionCacheMode() -> nn::ssl::sf::SessionCacheMode public ResultCode GetSessionCacheMode(ServiceCtx context) { - throw new ServiceNotImplementedException(this, context); + context.ResponseData.Write((uint)_sessionCacheMode); + + Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { _sessionCacheMode }); + + return ResultCode.Success; } [CommandHipc(19)]