aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs b/Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs
index 3fa1182d..019626f1 100644
--- a/Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs
+++ b/Ryujinx.HLE/HOS/Services/Prepo/IPrepoService.cs
@@ -89,7 +89,7 @@ namespace Ryujinx.HLE.HOS.Services.Prepo
{
byte[] randomBuffer = new byte[8];
- new Random().NextBytes(randomBuffer);
+ Random.Shared.NextBytes(randomBuffer);
_systemSessionId = BitConverter.ToUInt64(randomBuffer, 0);
}