mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 16:15:46 +00:00
Fix time returning epoch time in milliseconds rather than in seconds
This commit is contained in:
parent
6a81d78eb0
commit
7f7e83a76b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue