mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
hactoolnet: Fix error when extracting an nca's exefs
This commit is contained in:
parent
f80af38c64
commit
a76b0ef075
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ internal static class ProcessNca
|
|||
{
|
||||
FileSystemClient fs = ctx.Horizon.Fs;
|
||||
|
||||
using var inputFs = new UniqueRef<IFileSystem>(OpenFileSystemByType(NcaSectionType.Data));
|
||||
using var outputFs = new UniqueRef<IFileSystem>(new LocalFileSystem(ctx.Options.RomfsOutDir));
|
||||
using var inputFs = new UniqueRef<IFileSystem>(OpenFileSystemByType(NcaSectionType.Code));
|
||||
using var outputFs = new UniqueRef<IFileSystem>(new LocalFileSystem(ctx.Options.ExefsOutDir));
|
||||
|
||||
fs.Register("code".ToU8Span(), ref inputFs.Ref());
|
||||
fs.Register("output".ToU8Span(), ref outputFs.Ref());
|
||||
|
|
Loading…
Reference in a new issue