feature: Initial .NET 10 Support

Works as of .NET 10.0.0-preview.3.25171.5
This commit is contained in:
GreemDev 2025-04-17 04:13:40 -05:00
parent d98ed30450
commit e96f1df058
8 changed files with 12 additions and 11 deletions

View file

@ -139,7 +139,7 @@ namespace Ryujinx.Graphics.OpenGL.Image
start = sizeAligned;
}
Span<uint> outSpan = MemoryMarshal.Cast<byte, uint>(output);
Span<uint> outSpan = MemoryMarshal.Cast<byte, uint>(new Span<byte>(output));
ReadOnlySpan<uint> dataSpan = MemoryMarshal.Cast<byte, uint>(data);
for (int i = start / sizeof(uint); i < dataSpan.Length; i++)
{