mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-22 15:10:53 -05:00
misc: chore: Fix object creation in HLE project
This commit is contained in:
@@ -122,7 +122,7 @@ namespace Ryujinx.HLE.HOS.Applets.Error
|
||||
|
||||
if (romfs.FileExists(filePath))
|
||||
{
|
||||
using UniqueRef<IFile> 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);
|
||||
|
||||
Reference in New Issue
Block a user