aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-05-04 00:41:29 -0300
committerGitHub <noreply@github.com>2020-05-04 13:41:29 +1000
commit15d1cc806b1b978bab83d8bb426a124d9f0f788c (patch)
tree4fd10fdd11412bafcf3022e7cc4eb21179eef1b1 /Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs
parentcd48576f5846aa89a36bfc833e9de5dde9627aed (diff)
Move kernel state out of the Horizon class (#1107)
* Move kernel state from Horizon to KernelContext * Merge syscalls partial classes, split 32 and 64-bit variants * Sort usings
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs b/Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs
index dd982291..da3e217b 100644
--- a/Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs
+++ b/Ryujinx.HLE/HOS/Kernel/Threading/KEvent.cs
@@ -5,10 +5,10 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
public KReadableEvent ReadableEvent { get; private set; }
public KWritableEvent WritableEvent { get; private set; }
- public KEvent(Horizon system)
+ public KEvent(KernelContext context)
{
- ReadableEvent = new KReadableEvent(system, this);
- WritableEvent = new KWritableEvent(system, this);
+ ReadableEvent = new KReadableEvent(context, this);
+ WritableEvent = new KWritableEvent(context, this);
}
}
} \ No newline at end of file