summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/glue/time/time_zone.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-31 17:22:16 +0100
committerGitHub <noreply@github.com>2024-01-31 17:22:16 +0100
commita12a26e19b8b7b804fec3f948ca9a6fff1abb316 (patch)
treea796514d1af837079cdae0b46c154d8b88f43a45 /src/core/hle/service/glue/time/time_zone.cpp
parentMerge pull request #12868 from t895/engine-per-game (diff)
parentRemove a few hacks for clock setups, which seem to no longer be needed, but fix network clock to local clock on every boot. Also fix some logging strings. (diff)
downloadyuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar.gz
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar.bz2
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar.lz
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar.xz
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.tar.zst
yuzu-a12a26e19b8b7b804fec3f948ca9a6fff1abb316.zip
Diffstat (limited to 'src/core/hle/service/glue/time/time_zone.cpp')
-rw-r--r--src/core/hle/service/glue/time/time_zone.cpp27
1 files changed, 11 insertions, 16 deletions
diff --git a/src/core/hle/service/glue/time/time_zone.cpp b/src/core/hle/service/glue/time/time_zone.cpp
index 5dc1187cb..98d928697 100644
--- a/src/core/hle/service/glue/time/time_zone.cpp
+++ b/src/core/hle/service/glue/time/time_zone.cpp
@@ -197,32 +197,27 @@ Result TimeZoneService::ToCalendarTimeWithMyRule(
Result TimeZoneService::ToPosixTime(Out<u32> out_count,
OutArray<s64, BufferAttr_HipcPointer> out_times,
- Out<u32> out_times_count,
- Service::PSC::Time::CalendarTime& calendar_time, InRule rule) {
+ const Service::PSC::Time::CalendarTime& calendar_time,
+ InRule rule) {
SCOPE_EXIT({
LOG_DEBUG(Service_Time,
- "called. calendar_time={} out_count={} out_times[0]={} out_times[1]={} "
- "out_times_count={}",
- calendar_time, *out_count, out_times[0], out_times[1], *out_times_count);
+ "called. calendar_time={} out_count={} out_times[0]={} out_times[1]={}",
+ calendar_time, *out_count, out_times[0], out_times[1]);
});
- R_RETURN(
- m_wrapped_service->ToPosixTime(out_count, out_times, out_times_count, calendar_time, rule));
+ R_RETURN(m_wrapped_service->ToPosixTime(out_count, out_times, calendar_time, rule));
}
-Result TimeZoneService::ToPosixTimeWithMyRule(Out<u32> out_count,
- OutArray<s64, BufferAttr_HipcPointer> out_times,
- Out<u32> out_times_count,
- Service::PSC::Time::CalendarTime& calendar_time) {
+Result TimeZoneService::ToPosixTimeWithMyRule(
+ Out<u32> out_count, OutArray<s64, BufferAttr_HipcPointer> out_times,
+ const Service::PSC::Time::CalendarTime& calendar_time) {
SCOPE_EXIT({
LOG_DEBUG(Service_Time,
- "called. calendar_time={} out_count={} out_times[0]={} out_times[1]={} "
- "out_times_count={}",
- calendar_time, *out_count, out_times[0], out_times[1], *out_times_count);
+ "called. calendar_time={} out_count={} out_times[0]={} out_times[1]={}",
+ calendar_time, *out_count, out_times[0], out_times[1]);
});
- R_RETURN(m_wrapped_service->ToPosixTimeWithMyRule(out_count, out_times, out_times_count,
- calendar_time));
+ R_RETURN(m_wrapped_service->ToPosixTimeWithMyRule(out_count, out_times, calendar_time));
}
} // namespace Service::Glue::Time