misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot
2025-09-24 13:44:00 -05:00
parent 378dc33cca
commit 1f979e5c6f
42 changed files with 303 additions and 304 deletions
@@ -163,7 +163,7 @@ namespace Ryujinx.Common.Extensions
// Not enough data in the current segment, try to peek for the data we need.
T buffer = default;
Span<byte> tempSpan = new Span<byte>(&buffer, sizeof(T));
Span<byte> tempSpan = new(&buffer, sizeof(T));
if (!reader.TryCopyTo(tempSpan))
{