Update to LibHac v0.14.3 (#2925)
* Update to LibHac v0.14.3 * Fix loading NCAs that don't have a data partition
This commit is contained in:
parent
cb43cc7e32
commit
aa932a6df1
33 changed files with 554 additions and 406 deletions
|
@ -1,3 +1,4 @@
|
|||
using LibHac.Common;
|
||||
using LibHac.Fs;
|
||||
using LibHac.Kernel;
|
||||
using System;
|
||||
|
@ -32,11 +33,11 @@ namespace Ryujinx.HLE.Loaders.Executables
|
|||
public int Version { get; }
|
||||
public string Name { get; }
|
||||
|
||||
public KipExecutable(IStorage inStorage)
|
||||
public KipExecutable(in SharedRef<IStorage> inStorage)
|
||||
{
|
||||
KipReader reader = new KipReader();
|
||||
|
||||
reader.Initialize(inStorage).ThrowIfFailure();
|
||||
reader.Initialize(in inStorage).ThrowIfFailure();
|
||||
|
||||
TextOffset = (uint)reader.Segments[0].MemoryOffset;
|
||||
RoOffset = (uint)reader.Segments[1].MemoryOffset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue