From 93e0c9194d644807efe32e2910aab26390f8b6dc Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 22 Apr 2020 12:03:55 -0700 Subject: [PATCH] erpt: fix access to time service on versions where it is disallowed --- libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp b/libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp index 8d72978ad..3bee29d18 100644 --- a/libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp +++ b/libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp @@ -67,7 +67,7 @@ namespace ams::erpt::srv { Result Reporter::CollectUniqueReportFields() { this->occurrence_tick = os::GetSystemTick(); - if (hos::GetVersion() >= hos::Version_3_0_0) { + if (hos::GetVersion() >= hos::Version_5_0_0) { this->steady_clock_internal_offset_seconds = time::GetStandardSteadyClockInternalOffset().GetSeconds(); } else { this->steady_clock_internal_offset_seconds = 0;