From 703be1931a94d497a532ad6b1f38523cbc91ae36 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 24 Jan 2018 11:54:47 -0300 Subject: Fix time returning epoch time in milliseconds rather than in seconds --- src/core/hle/service/time/time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/time/time.cpp') diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp index 8abb2ce7a..448ef8544 100644 --- a/src/core/hle/service/time/time.cpp +++ b/src/core/hle/service/time/time.cpp @@ -25,7 +25,7 @@ public: private: void GetCurrentTime(Kernel::HLERequestContext& ctx) { - const s64 time_since_epoch{std::chrono::duration_cast( + const s64 time_since_epoch{std::chrono::duration_cast( std::chrono::system_clock::now().time_since_epoch()) .count()}; IPC::RequestBuilder rb{ctx, 4}; -- cgit v1.2.3