aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs b/Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs
index bfb8e7e2..e1a3e63f 100644
--- a/Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs
+++ b/Ryujinx.HLE/HOS/Kernel/KReadableEvent.cs
@@ -2,22 +2,22 @@ namespace Ryujinx.HLE.HOS.Kernel
{
class KReadableEvent : KSynchronizationObject
{
- private KEvent Parent;
+ private KEvent _parent;
- private bool Signaled;
+ private bool _signaled;
- public KReadableEvent(Horizon System, KEvent Parent) : base(System)
+ public KReadableEvent(Horizon system, KEvent parent) : base(system)
{
- this.Parent = Parent;
+ _parent = parent;
}
public override void Signal()
{
System.CriticalSection.Enter();
- if (!Signaled)
+ if (!_signaled)
{
- Signaled = true;
+ _signaled = true;
base.Signal();
}
@@ -27,36 +27,36 @@ namespace Ryujinx.HLE.HOS.Kernel
public KernelResult Clear()
{
- Signaled = false;
+ _signaled = false;
return KernelResult.Success;
}
public KernelResult ClearIfSignaled()
{
- KernelResult Result;
+ KernelResult result;
System.CriticalSection.Enter();
- if (Signaled)
+ if (_signaled)
{
- Signaled = false;
+ _signaled = false;
- Result = KernelResult.Success;
+ result = KernelResult.Success;
}
else
{
- Result = KernelResult.InvalidState;
+ result = KernelResult.InvalidState;
}
System.CriticalSection.Leave();
- return Result;
+ return result;
}
public override bool IsSignaled()
{
- return Signaled;
+ return _signaled;
}
}
} \ No newline at end of file