Browse Source

Implement the GetSessionCacheMode in SSL servuce (#3735)

WilliamWsyHK 3 years ago
parent
commit
56621615b1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs

+ 5 - 1
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)]