summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-03-10 17:40:51 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-03-10 17:40:51 +0100
commit2490ffbbce06659f0171a257ff08be6a5ac8fb2e (patch)
tree2a702813991752ee9e9e546a334eb7189a395da1 /src/core
parentMerge pull request #5891 from ameerj/bgra-ogl (diff)
downloadyuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar.gz
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar.bz2
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar.lz
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar.xz
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.tar.zst
yuzu-2490ffbbce06659f0171a257ff08be6a5ac8fb2e.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/time/time.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp
index 18629dd7e..1c4b0134a 100644
--- a/src/core/hle/service/time/time.cpp
+++ b/src/core/hle/service/time/time.cpp
@@ -140,6 +140,8 @@ ResultCode Module::Interface::GetClockSnapshotFromSystemClockContextInternal(
const auto current_time_point{
time_manager.GetStandardSteadyClockCore().GetCurrentTimePoint(system)};
+ clock_snapshot.steady_clock_time_point = current_time_point;
+
if (const ResultCode result{Clock::ClockSnapshot::GetCurrentTime(
clock_snapshot.user_time, current_time_point, clock_snapshot.user_context)};
result != RESULT_SUCCESS) {