summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-24 16:45:07 +0100
committerGitHub <noreply@github.com>2018-01-24 16:45:07 +0100
commitb35cf672c0c8874ba426ca823c0fa8dec09c1b64 (patch)
tree6f2b56d2fd07511543caa5fd2c8877a4a21dfc86 /src/core
parentMerge pull request #139 from Rozelette/log_nvdrv (diff)
parentFix time returning epoch time in milliseconds rather than in seconds (diff)
downloadyuzu-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')
-rw-r--r--src/core/hle/service/time/time.cpp2
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};