Apply GetGroupInfo fix to ISfServiceMonitor too

merge-requests/104/head^2^2
niansa 2024-03-10 02:28:59 +07:00 committed by JuanCStar
parent 94251409c1
commit 7295a6c1ad
2 changed files with 3 additions and 3 deletions

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

@ -20,7 +20,7 @@ public:
private:
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