mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-29 23:42:48 +00:00
Merge pull request #140 from gdkchan/time_fix
Fix time returning epoch time in milliseconds rather than in seconds
This commit is contained in:
commit
b35cf672c0
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue