Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Implemented a more correct version of ISfServiceMonitor::GetGroupInfo

darktuxd8c2ab85eb37
diff --git a/src/core/hle/service/ldn/sf_service_monitor.cpp b/src/core/hle/service/ldn/sf_service_monitor.cpp
index 33e3c1d69a..9a1cde6881 100644
--- a/src/core/hle/service/ldn/sf_service_monitor.cpp
+++ b/src/core/hle/service/ldn/sf_service_monitor.cpp
@@ -40,10 +40,10 @@ Result ISfServiceMonitor::Initialize(Out<u32> out_value) {
}
Result ISfServiceMonitor::GetGroupInfo(
- OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
+ OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info, GroupInfo in_group_info) {
LOG_WARNING(Service_LDN, "(STUBBED) called");
- *out_group_info = GroupInfo{};
+ *out_group_info = in_group_info;
R_SUCCEED();
}
diff --git a/src/core/hle/service/ldn/sf_service_monitor.h b/src/core/hle/service/ldn/sf_service_monitor.h
index 3cfc5005eb..924cc17594 100644
--- a/src/core/hle/service/ldn/sf_service_monitor.h
+++ b/src/core/hle/service/ldn/sf_service_monitor.h
@@ -20,7 +20,8 @@ public:
private:
Result Initialize(Out<u32> out_value);
- Result GetGroupInfo(OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info);
+ Result GetGroupInfo(OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info,
+ GroupInfo in_group_info);
};
} // namespace Service::LDN