Explorar o código

Implement the GetSessionCacheMode in SSL servuce (#3735)

WilliamWsyHK %!s(int64=3) %!d(string=hai) anos
pai
achega
56621615b1
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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
         // GetSessionCacheMode() -> nn::ssl::sf::SessionCacheMode
         public ResultCode GetSessionCacheMode(ServiceCtx context)
         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)]
         [CommandHipc(19)]