diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-04-22 07:04:24 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-04-22 07:04:24 +0200 |
commit | f3137d3bc12253ed0406ef01406b3b62c563bbd7 (patch) | |
tree | c3f724f5fecb1fbc21dbc3ff0405dacbedca5efa /src/core/hle/service/ssl | |
parent | Merge pull request #378 from Subv/a2bgr10 (diff) | |
download | yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.gz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.bz2 yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.lz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.xz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.zst yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.zip |
Diffstat (limited to 'src/core/hle/service/ssl')
-rw-r--r-- | src/core/hle/service/ssl/ssl.cpp | 11 | ||||
-rw-r--r-- | src/core/hle/service/ssl/ssl.h | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp index 11d438728..7e21fec8e 100644 --- a/src/core/hle/service/ssl/ssl.cpp +++ b/src/core/hle/service/ssl/ssl.cpp @@ -96,12 +96,21 @@ SSL::SSL() : ServiceFramework("ssl") { {2, nullptr, "GetCertificates"}, {3, nullptr, "GetCertificateBufSize"}, {4, nullptr, "DebugIoctl"}, - {5, nullptr, "SetInterfaceVersion"}, + {5, &SSL::SetInterfaceVersion, "SetInterfaceVersion"}, {6, nullptr, "FlushSessionCache"}, }; RegisterHandlers(functions); } +void SSL::SetInterfaceVersion(Kernel::HLERequestContext& ctx) { + IPC::RequestParser rp{ctx}; + u32 unk1 = rp.Pop<u32>(); // Probably minor/major? + u32 unk2 = rp.Pop<u32>(); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); +} + void InstallInterfaces(SM::ServiceManager& service_manager) { std::make_shared<SSL>()->InstallAsService(service_manager); } diff --git a/src/core/hle/service/ssl/ssl.h b/src/core/hle/service/ssl/ssl.h index 87538a639..8fef13022 100644 --- a/src/core/hle/service/ssl/ssl.h +++ b/src/core/hle/service/ssl/ssl.h @@ -15,6 +15,7 @@ public: private: void CreateContext(Kernel::HLERequestContext& ctx); + void SetInterfaceVersion(Kernel::HLERequestContext& ctx); }; /// Registers all SSL services with the specified service manager. |