diff options
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Time')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Time/Clock/StandardUserSystemClockCore.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Time/StaticService/ISystemClock.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Time/Clock/StandardUserSystemClockCore.cs b/Ryujinx.HLE/HOS/Services/Time/Clock/StandardUserSystemClockCore.cs index 42bc05fa..2499b549 100644 --- a/Ryujinx.HLE/HOS/Services/Time/Clock/StandardUserSystemClockCore.cs +++ b/Ryujinx.HLE/HOS/Services/Time/Clock/StandardUserSystemClockCore.cs @@ -64,7 +64,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.Clock internal void CreateAutomaticCorrectionEvent(Horizon system) { - _autoCorrectionEvent = new KEvent(system); + _autoCorrectionEvent = new KEvent(system.KernelContext); } public ResultCode SetAutomaticCorrectionEnabled(KThread thread, bool autoCorrectionEnabled) diff --git a/Ryujinx.HLE/HOS/Services/Time/StaticService/ISystemClock.cs b/Ryujinx.HLE/HOS/Services/Time/StaticService/ISystemClock.cs index d5b21f8c..2e0d0212 100644 --- a/Ryujinx.HLE/HOS/Services/Time/StaticService/ISystemClock.cs +++ b/Ryujinx.HLE/HOS/Services/Time/StaticService/ISystemClock.cs @@ -106,7 +106,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.StaticService { if (_operationEventReadableHandle == 0) { - KEvent kEvent = new KEvent(context.Device.System); + KEvent kEvent = new KEvent(context.Device.System.KernelContext); _clockCore.RegisterOperationEvent(kEvent.WritableEvent); |
