Apply GetGroupInfo fix to ISfServiceMonitor too

This commit is contained in:
niansa 2024-03-10 02:28:59 +01:00
parent 8dae7d29d6
commit ad32b5371d
2 changed files with 3 additions and 3 deletions

View file

@ -39,11 +39,11 @@ Result ISfServiceMonitor::Initialize(Out<u32> out_value) {
R_SUCCEED(); R_SUCCEED();
} }
Result ISfServiceMonitor::GetGroupInfo( Result ISfServiceMonitor::GetGroupInfo(GroupInfo in_group_info,
OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) { OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
LOG_WARNING(Service_LDN, "(STUBBED) called"); LOG_WARNING(Service_LDN, "(STUBBED) called");
*out_group_info = GroupInfo{}; memcpy(out_group_info, &in_group_info, sizeof(GroupInfo));
R_SUCCEED(); R_SUCCEED();
} }

View file

@ -20,7 +20,7 @@ public:
private: private:
Result Initialize(Out<u32> out_value); Result Initialize(Out<u32> out_value);
Result GetGroupInfo(OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info); Result GetGroupInfo(GroupInfo in_group_info, OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info);
}; };
} // namespace Service::LDN } // namespace Service::LDN