diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-10 13:55:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 13:55:11 -0500 |
| commit | 021af4fd0016c49009e3c1ff51ff73aba75b9eb4 (patch) | |
| tree | c589832d3b517d96dae79b7263b92fe69a3457ba /src/core/hle/service/hid/controllers/stubbed.cpp | |
| parent | ec4e2d1fab5ff71a33de1229dab191b679983daa (diff) | |
| parent | 67560296c697914f6bf809dca2ab555038b19aa2 (diff) | |
Merge pull request #9917 from Morph1984/the-real-time
native_clock: Re-adjust the RDTSC frequency to its real frequency
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; |
