summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldn/sf_monitor_service.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-10 06:06:22 +0100
committergerman77 <juangerman-13@hotmail.com>2024-02-11 20:11:11 +0100
commit2053ff96fccaf2d8e3472cb370141c6d3252c4e1 (patch)
treee2428cb76abf294014e257c698cd4f52521eeccb /src/core/hle/service/ldn/sf_monitor_service.cpp
parentMerge pull request #12969 from german77/bcat-interface (diff)
downloadyuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar.gz
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar.bz2
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar.lz
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar.xz
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.tar.zst
yuzu-2053ff96fccaf2d8e3472cb370141c6d3252c4e1.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/ldn/sf_monitor_service.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/core/hle/service/ldn/sf_monitor_service.cpp b/src/core/hle/service/ldn/sf_monitor_service.cpp
new file mode 100644
index 000000000..9e6736ff2
--- /dev/null
+++ b/src/core/hle/service/ldn/sf_monitor_service.cpp
@@ -0,0 +1,40 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "core/hle/service/cmif_serialization.h"
+#include "core/hle/service/ldn/ldn_types.h"
+#include "core/hle/service/ldn/sf_monitor_service.h"
+
+namespace Service::LDN {
+
+ISfMonitorService::ISfMonitorService(Core::System& system_)
+ : ServiceFramework{system_, "ISfMonitorService"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, C<&ISfMonitorService::Initialize>, "Initialize"},
+ {288, C<&ISfMonitorService::GetGroupInfo>, "GetGroupInfo"},
+ {320, nullptr, "GetLinkLevel"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+ISfMonitorService::~ISfMonitorService() = default;
+
+Result ISfMonitorService::Initialize(Out<u32> out_value) {
+ LOG_WARNING(Service_LDN, "(STUBBED) called");
+
+ *out_value = 0;
+ R_SUCCEED();
+}
+
+Result ISfMonitorService::GetGroupInfo(
+ OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
+ LOG_WARNING(Service_LDN, "(STUBBED) called");
+
+ *out_group_info = GroupInfo{};
+ R_SUCCEED();
+}
+
+} // namespace Service::LDN