mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-23 10:52:13 +00:00
erpt: fix access to time service on versions where it is disallowed
This commit is contained in:
parent
6ad0f0e7f2
commit
93e0c9194d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace ams::erpt::srv {
|
||||||
|
|
||||||
Result Reporter::CollectUniqueReportFields() {
|
Result Reporter::CollectUniqueReportFields() {
|
||||||
this->occurrence_tick = os::GetSystemTick();
|
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();
|
this->steady_clock_internal_offset_seconds = time::GetStandardSteadyClockInternalOffset().GetSeconds();
|
||||||
} else {
|
} else {
|
||||||
this->steady_clock_internal_offset_seconds = 0;
|
this->steady_clock_internal_offset_seconds = 0;
|
||||||
|
|
Loading…
Reference in a new issue