diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-07 19:24:13 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-07 21:17:47 -0500 |
| commit | 1073346c7f5541056b7ea88a701ad2e8e91a89b2 (patch) | |
| tree | 7163c903818bc34d2b6fe672db5168357ba383c3 /src/core/hle/service/hid/controllers/stubbed.cpp | |
| parent | 3053a6237525ae870791eff480812016a3d4ec1e (diff) | |
hid: Use nanosecond timestamps instead of ticks
Diffstat (limited to 'src/core/hle/service/hid/controllers/stubbed.cpp')
| -rw-r--r-- | src/core/hle/service/hid/controllers/stubbed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/stubbed.cpp b/src/core/hle/service/hid/controllers/stubbed.cpp index df9ee0c3f..9e2f3ab21 100644 --- a/src/core/hle/service/hid/controllers/stubbed.cpp +++ b/src/core/hle/service/hid/controllers/stubbed.cpp @@ -26,7 +26,7 @@ void Controller_Stubbed::OnUpdate(const Core::Timing::CoreTiming& core_timing) { } CommonHeader header{}; - header.timestamp = core_timing.GetCPUTicks(); + header.timestamp = core_timing.GetGlobalTimeNs().count(); header.total_entry_count = 17; header.entry_count = 0; header.last_entry_index = 0; |
