mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 16:22:47 +01:00
Run clang-format
This commit is contained in:
parent
ad32b5371d
commit
9858de7fce
8 changed files with 14 additions and 10 deletions
|
@ -170,7 +170,6 @@ Result ICommonStateGetter::GetCradleFwVersion(OutArray<uint32_t, 4> out_version)
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Result ICommonStateGetter::IsVrModeEnabled(Out<bool> out_is_vr_mode_enabled) {
|
Result ICommonStateGetter::IsVrModeEnabled(Out<bool> out_is_vr_mode_enabled) {
|
||||||
LOG_DEBUG(Service_AM, "called");
|
LOG_DEBUG(Service_AM, "called");
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,8 @@ Result ISfMonitorService::Initialize(Out<u32> out_value) {
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ISfMonitorService::GetGroupInfo(GroupInfo in_group_info,
|
Result ISfMonitorService::GetGroupInfo(
|
||||||
OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
|
GroupInfo in_group_info, OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
|
||||||
LOG_WARNING(Service_LDN, "(STUBBED) called");
|
LOG_WARNING(Service_LDN, "(STUBBED) called");
|
||||||
|
|
||||||
memcpy(out_group_info, &in_group_info, sizeof(GroupInfo));
|
memcpy(out_group_info, &in_group_info, sizeof(GroupInfo));
|
||||||
|
|
|
@ -20,7 +20,8 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Result Initialize(Out<u32> out_value);
|
Result Initialize(Out<u32> out_value);
|
||||||
Result GetGroupInfo(GroupInfo in_group_info, 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
|
||||||
|
|
|
@ -39,8 +39,8 @@ Result ISfServiceMonitor::Initialize(Out<u32> out_value) {
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ISfServiceMonitor::GetGroupInfo(GroupInfo in_group_info,
|
Result ISfServiceMonitor::GetGroupInfo(
|
||||||
OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
|
GroupInfo in_group_info, OutLargeData<GroupInfo, BufferAttr_HipcAutoSelect> out_group_info) {
|
||||||
LOG_WARNING(Service_LDN, "(STUBBED) called");
|
LOG_WARNING(Service_LDN, "(STUBBED) called");
|
||||||
|
|
||||||
memcpy(out_group_info, &in_group_info, sizeof(GroupInfo));
|
memcpy(out_group_info, &in_group_info, sizeof(GroupInfo));
|
||||||
|
|
|
@ -20,7 +20,8 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Result Initialize(Out<u32> out_value);
|
Result Initialize(Out<u32> out_value);
|
||||||
Result GetGroupInfo(GroupInfo in_group_info, 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
|
||||||
|
|
|
@ -515,6 +515,7 @@ struct RebootlessSystemUpdateVersion {
|
||||||
u8 reserved[0x1c];
|
u8 reserved[0x1c];
|
||||||
char display_version[0x20];
|
char display_version[0x20];
|
||||||
};
|
};
|
||||||
static_assert(sizeof(RebootlessSystemUpdateVersion) == 0x40, "RebootlessSystemUpdateVersion is an invalid size");
|
static_assert(sizeof(RebootlessSystemUpdateVersion) == 0x40,
|
||||||
|
"RebootlessSystemUpdateVersion is an invalid size");
|
||||||
|
|
||||||
} // namespace Service::Set
|
} // namespace Service::Set
|
||||||
|
|
|
@ -1194,7 +1194,8 @@ Result ISystemSettingsServer::SetKeyboardLayout(KeyboardLayout keyboard_layout)
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ISystemSettingsServer::GetRebootlessSystemUpdateVersion(Out<RebootlessSystemUpdateVersion> out_rebootless_system_update) {
|
Result ISystemSettingsServer::GetRebootlessSystemUpdateVersion(
|
||||||
|
Out<RebootlessSystemUpdateVersion> out_rebootless_system_update) {
|
||||||
LOG_INFO(Service_SET, "(STUBBED) called");
|
LOG_INFO(Service_SET, "(STUBBED) called");
|
||||||
|
|
||||||
out_rebootless_system_update->version = 0;
|
out_rebootless_system_update->version = 0;
|
||||||
|
|
|
@ -136,7 +136,8 @@ public:
|
||||||
Result SetAppletLaunchFlags(u32 applet_launch_flag);
|
Result SetAppletLaunchFlags(u32 applet_launch_flag);
|
||||||
Result GetKeyboardLayout(Out<KeyboardLayout> out_keyboard_layout);
|
Result GetKeyboardLayout(Out<KeyboardLayout> out_keyboard_layout);
|
||||||
Result SetKeyboardLayout(KeyboardLayout keyboard_layout);
|
Result SetKeyboardLayout(KeyboardLayout keyboard_layout);
|
||||||
Result GetRebootlessSystemUpdateVersion(Out<RebootlessSystemUpdateVersion> out_rebootless_system_update);
|
Result GetRebootlessSystemUpdateVersion(
|
||||||
|
Out<RebootlessSystemUpdateVersion> out_rebootless_system_update);
|
||||||
Result GetDeviceTimeZoneLocationUpdatedTime(
|
Result GetDeviceTimeZoneLocationUpdatedTime(
|
||||||
Out<Service::PSC::Time::SteadyClockTimePoint> out_time_point);
|
Out<Service::PSC::Time::SteadyClockTimePoint> out_time_point);
|
||||||
Result SetDeviceTimeZoneLocationUpdatedTime(
|
Result SetDeviceTimeZoneLocationUpdatedTime(
|
||||||
|
|
Loading…
Reference in a new issue