diff options
author | Liam <byteslice@airmail.cc> | 2024-02-24 19:03:25 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-25 04:56:08 +0100 |
commit | 4050242cf3f79cebf9a701a7338569957cbef584 (patch) | |
tree | c119741173d639b5342e64bfc430f5ac0e066b8e /src | |
parent | ssl: add cert store (diff) | |
download | yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar.gz yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar.bz2 yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar.lz yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar.xz yuzu-4050242cf3f79cebf9a701a7338569957cbef584.tar.zst yuzu-4050242cf3f79cebf9a701a7338569957cbef584.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/ldn/monitor_service.cpp | 13 | ||||
-rw-r--r-- | src/core/hle/service/ldn/monitor_service.h | 1 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/core/hle/service/ldn/monitor_service.cpp b/src/core/hle/service/ldn/monitor_service.cpp index 3471f69da..ea6ac4d5d 100644 --- a/src/core/hle/service/ldn/monitor_service.cpp +++ b/src/core/hle/service/ldn/monitor_service.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "core/hle/service/cmif_serialization.h" +#include "core/hle/service/ldn/ldn_results.h" #include "core/hle/service/ldn/monitor_service.h" namespace Service::LDN { @@ -17,7 +18,7 @@ IMonitorService::IMonitorService(Core::System& system_) {4, nullptr, "GetSecurityParameterForMonitor"}, {5, nullptr, "GetNetworkConfigForMonitor"}, {100, C<&IMonitorService::InitializeMonitor>, "InitializeMonitor"}, - {101, nullptr, "FinalizeMonitor"}, + {101, C<&IMonitorService::FinalizeMonitor>, "FinalizeMonitor"}, }; // clang-format on @@ -27,16 +28,18 @@ IMonitorService::IMonitorService(Core::System& system_) IMonitorService::~IMonitorService() = default; Result IMonitorService::GetStateForMonitor(Out<State> out_state) { - LOG_INFO(Service_LDN, "called"); - - *out_state = state; + LOG_WARNING(Service_LDN, "(STUBBED) called"); + *out_state = State::None; R_SUCCEED(); } Result IMonitorService::InitializeMonitor() { LOG_INFO(Service_LDN, "called"); + R_SUCCEED(); +} - state = State::Initialized; +Result IMonitorService::FinalizeMonitor() { + LOG_INFO(Service_LDN, "called"); R_SUCCEED(); } diff --git a/src/core/hle/service/ldn/monitor_service.h b/src/core/hle/service/ldn/monitor_service.h index 61aacef30..e663145b4 100644 --- a/src/core/hle/service/ldn/monitor_service.h +++ b/src/core/hle/service/ldn/monitor_service.h @@ -21,6 +21,7 @@ public: private: Result GetStateForMonitor(Out<State> out_state); Result InitializeMonitor(); + Result FinalizeMonitor(); State state{State::None}; }; |