diff options
| author | Alex Barney <thealexbarney@gmail.com> | 2021-12-23 09:55:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-23 13:55:50 -0300 |
| commit | aa932a6df1764b7c600ae0ba4e0c7a0ba802f312 (patch) | |
| tree | 24a390cf2330620aeeab1efbd42ae4099f61ca86 /Ryujinx.HLE/Loaders/Executables/KipExecutable.cs | |
| parent | cb43cc7e322014ce2bd0ee73b06d403be62fa8d5 (diff) | |
Update to LibHac v0.14.3 (#2925)
* Update to LibHac v0.14.3
* Fix loading NCAs that don't have a data partition
Diffstat (limited to 'Ryujinx.HLE/Loaders/Executables/KipExecutable.cs')
| -rw-r--r-- | Ryujinx.HLE/Loaders/Executables/KipExecutable.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.HLE/Loaders/Executables/KipExecutable.cs b/Ryujinx.HLE/Loaders/Executables/KipExecutable.cs index fe88f691..be5b61a2 100644 --- a/Ryujinx.HLE/Loaders/Executables/KipExecutable.cs +++ b/Ryujinx.HLE/Loaders/Executables/KipExecutable.cs @@ -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; |
