Update LibHac to 0.18.0 (#4414)
* Update LibHac to 0.18.0 * Change instance of AsBytes(CreateReadOnlySpan(...)) to AsReadOnlyByteSpan(...)
This commit is contained in:
parent
9b5a0c3889
commit
ecee34a50c
38 changed files with 161 additions and 159 deletions
|
@ -111,11 +111,11 @@ namespace Ryujinx.HLE.HOS.Services.Fs.FileSystemProxy
|
|||
ref readonly Path name = ref FileSystemProxyHelper.GetSfPath(context);
|
||||
using var file = new SharedRef<LibHac.FsSrv.Sf.IFile>();
|
||||
|
||||
Result result = _fileSystem.Get.OpenFile(ref file.Ref(), in name, mode);
|
||||
Result result = _fileSystem.Get.OpenFile(ref file.Ref, in name, mode);
|
||||
|
||||
if (result.IsSuccess())
|
||||
{
|
||||
IFile fileInterface = new IFile(ref file.Ref());
|
||||
IFile fileInterface = new IFile(ref file.Ref);
|
||||
|
||||
MakeObject(context, fileInterface);
|
||||
}
|
||||
|
@ -132,11 +132,11 @@ namespace Ryujinx.HLE.HOS.Services.Fs.FileSystemProxy
|
|||
ref readonly Path name = ref FileSystemProxyHelper.GetSfPath(context);
|
||||
using var dir = new SharedRef<LibHac.FsSrv.Sf.IDirectory>();
|
||||
|
||||
Result result = _fileSystem.Get.OpenDirectory(ref dir.Ref(), name, mode);
|
||||
Result result = _fileSystem.Get.OpenDirectory(ref dir.Ref, name, mode);
|
||||
|
||||
if (result.IsSuccess())
|
||||
{
|
||||
IDirectory dirInterface = new IDirectory(ref dir.Ref());
|
||||
IDirectory dirInterface = new IDirectory(ref dir.Ref);
|
||||
|
||||
MakeObject(context, dirInterface);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue