From 716797efc5fc951d8191448805b0ec9fe5504ecd 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 --- libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp b/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp index 8d72978a..3bee29d1 100644 --- a/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp +++ b/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;