mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 22:42:40 +02:00
erpt: fix access to time service on versions where it is disallowed
This commit is contained in:
parent
4496c6aa23
commit
716797efc5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user