mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-07-07 19:49:08 +00:00
misc: chore: Fix object creation in HLE project
This commit is contained in:
@@ -244,7 +244,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnMitm
|
||||
|
||||
byte[] ip = address.GetAddressBytes();
|
||||
|
||||
Array6<byte> macAddress = new Array6<byte>();
|
||||
Array6<byte> macAddress = new();
|
||||
new byte[] { 0x02, 0x00, ip[0], ip[1], ip[2], ip[3] }.CopyTo(macAddress.AsSpan());
|
||||
|
||||
return macAddress;
|
||||
|
||||
Reference in New Issue
Block a user