diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-27 06:49:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 06:49:40 +0200 |
commit | 3c404964097a0882ce9651571ec02c54474350ce (patch) | |
tree | 37932b0e46a5190fbe54a83fe06706d171e6141a /src/core/hle/service/ssl/ssl.cpp | |
parent | Merge pull request #406 from lioncash/frontend (diff) | |
parent | Switched to NGLOG_WARNING (diff) | |
download | yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.gz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.bz2 yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.lz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.xz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.zst yuzu-3c404964097a0882ce9651571ec02c54474350ce.zip |
Diffstat (limited to 'src/core/hle/service/ssl/ssl.cpp')
-rw-r--r-- | src/core/hle/service/ssl/ssl.cpp | 12 |
1 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 c7788da5c..b3dad8b06 100644 --- a/src/core/hle/service/ssl/ssl.cpp +++ b/src/core/hle/service/ssl/ssl.cpp @@ -96,12 +96,22 @@ 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) { + NGLOG_WARNING(Service_SSL, "(STUBBED) called"); + IPC::RequestParser rp{ctx}; + u32 unk1 = rp.Pop<u32>(); // Probably minor/major? + u32 unk2 = rp.Pop<u32>(); // TODO(ogniK): Figure out what this does + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); +} + void InstallInterfaces(SM::ServiceManager& service_manager) { std::make_shared<SSL>()->InstallAsService(service_manager); } |