diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-13 14:18:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 14:18:31 +0100 |
commit | 95d96cfe663aadedf86ce2b8bd2dfc132463b819 (patch) | |
tree | 04c9140090ff20b178c31bd567df9883b0647f58 /src/core/hle/service/ldn/sf_monitor_service.cpp | |
parent | Merge pull request #12975 from FernandoS27/keep-your-own-vodoo-doll-away-from-gf (diff) | |
parent | service: ldn: Migrate and refractor service to new IPC (diff) | |
download | yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar.gz yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar.bz2 yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar.lz yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar.xz yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.tar.zst yuzu-95d96cfe663aadedf86ce2b8bd2dfc132463b819.zip |
Diffstat (limited to 'src/core/hle/service/ldn/sf_monitor_service.cpp')
-rw-r--r-- | src/core/hle/service/ldn/sf_monitor_service.cpp | 40 |
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 |