diff options
| author | 2021-04-09 16:56:11 -0700 | |
|---|---|---|
| committer | 2021-05-05 16:40:51 -0700 | |
| commit | ab704acab80d17f9a8e34dcbb753d60de2a86f86 (patch) | |
| tree | 41b84d29f755f19f2222bef358631f88c6f2152f /src/core/hle/service/time | |
| parent | hle: kernel: Use unique_ptr for suspend and dummy threads. (diff) | |
| download | yuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.tar.gz yuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.tar.xz yuzu-ab704acab80d17f9a8e34dcbb753d60de2a86f86.zip | |
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
Diffstat (limited to 'src/core/hle/service/time')
| -rw-r--r-- | src/core/hle/service/time/standard_user_system_clock_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/time/standard_user_system_clock_core.cpp b/src/core/hle/service/time/standard_user_system_clock_core.cpp index c41bdd48b..7f47b12b8 100644 --- a/src/core/hle/service/time/standard_user_system_clock_core.cpp +++ b/src/core/hle/service/time/standard_user_system_clock_core.cpp | |||
| @@ -18,6 +18,7 @@ StandardUserSystemClockCore::StandardUserSystemClockCore( | |||
| 18 | network_system_clock_core{network_system_clock_core}, auto_correction_enabled{}, | 18 | network_system_clock_core{network_system_clock_core}, auto_correction_enabled{}, |
| 19 | auto_correction_time{SteadyClockTimePoint::GetRandom()}, auto_correction_event{ | 19 | auto_correction_time{SteadyClockTimePoint::GetRandom()}, auto_correction_event{ |
| 20 | system.Kernel()} { | 20 | system.Kernel()} { |
| 21 | Kernel::KAutoObject::Create(std::addressof(auto_correction_event)); | ||
| 21 | auto_correction_event.Initialize("StandardUserSystemClockCore:AutoCorrectionEvent"); | 22 | auto_correction_event.Initialize("StandardUserSystemClockCore:AutoCorrectionEvent"); |
| 22 | } | 23 | } |
| 23 | 24 | ||