mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 21:36:25 +02:00
misc: chore: Fix object creation in HLE project
This commit is contained in:
parent
f1fd5c9366
commit
beab133c8d
48 changed files with 194 additions and 194 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue