mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-09 01:18:54 +02:00
Make use of Random.Shared (#3852)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user