3
0
Fork 0
forked from suyu/suyu

Apply GetGroupInfo fix to ISfServiceMonitor too

This commit is contained in:
niansa 2024-03-10 02:28:59 +01:00 committed by JuanCStar
parent 94251409c1
commit 7295a6c1ad
2 changed files with 3 additions and 3 deletions

View file

@ -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();
}

View file

@ -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