aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs b/src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
index db224163..922fd34a 100644
--- a/src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
@@ -5,9 +5,7 @@ namespace Ryujinx.HLE.HOS.Services.Spl
[Service("csrng")]
class IRandomInterface : DisposableIpcService
{
- private RandomNumberGenerator _rng;
-
- private readonly object _lock = new();
+ private readonly RandomNumberGenerator _rng;
public IRandomInterface(ServiceCtx context)
{
@@ -35,4 +33,4 @@ namespace Ryujinx.HLE.HOS.Services.Spl
}
}
}
-} \ No newline at end of file
+}