misc: chore: Use explicit types & fix object creation

This commit is contained in:
KeatonTheBot committed 2026-05-30 16:26:50 -05:00
1 parent 9d3fecf334
commit 76a123b81d
454 files changed
+3042 -2961

No files matched your search

@@ -122,7 +122,7 @@ namespace Ryujinx.HLE.HOS.Applets.Error
if (romfs.FileExists(filePath))
{
using var binaryFile = new UniqueRef<IFile>();
using UniqueRef<IFile> binaryFile = new();
romfs.OpenFile(ref binaryFile.Ref, filePath.ToU8Span(), OpenMode.Read).ThrowIfFailure();
StreamReader reader = new(binaryFile.Get.AsStream(), Encoding.Unicode);