Update LibHac to 0.18.0 (#4414)

* Update LibHac to 0.18.0

* Change instance of AsBytes(CreateReadOnlySpan(...)) to AsReadOnlyByteSpan(...)
This commit is contained in:
Steveice10 2023-03-01 18:42:27 -08:00 committed by GitHub
parent 9b5a0c3889
commit ecee34a50c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 161 additions and 159 deletions

View file

@ -1,7 +1,5 @@
using LibHac.Common;
using Ryujinx.HLE.Utilities;
using Ryujinx.Common.Utilities;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Mii.Types
@ -78,7 +76,7 @@ namespace Ryujinx.HLE.HOS.Services.Mii.Types
private ReadOnlySpan<byte> AsSpan()
{
return MemoryMarshal.AsBytes(SpanHelpers.CreateReadOnlySpan(in this, 1));
return SpanHelpers.AsReadOnlyByteSpan(ref this);
}
private ReadOnlySpan<byte> AsSpanWithoutDeviceCrc()