diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-24 16:45:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 16:45:07 +0100 |
commit | b35cf672c0c8874ba426ca823c0fa8dec09c1b64 (patch) | |
tree | 6f2b56d2fd07511543caa5fd2c8877a4a21dfc86 /src/core/hle/service | |
parent | Merge pull request #139 from Rozelette/log_nvdrv (diff) | |
parent | Fix time returning epoch time in milliseconds rather than in seconds (diff) | |
download | yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar.gz yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar.bz2 yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar.lz yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar.xz yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.tar.zst yuzu-b35cf672c0c8874ba426ca823c0fa8dec09c1b64.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/time/time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::chrono::milliseconds>( + const s64 time_since_epoch{std::chrono::duration_cast<std::chrono::seconds>( std::chrono::system_clock::now().time_since_epoch()) .count()}; IPC::RequestBuilder rb{ctx, 4}; |