VERY experimental Nintendo Switch 2 emulator
C++
time: Assign the current time point to the ClockSnapshot
Morphe715bfd94506
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cppindex 18629dd7ea..1c4b0134a3 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) {