mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Misc fixes
This commit is contained in:
parent
1876e3b671
commit
9d03729e8a
5 changed files with 4 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace LibHac.Fs
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace LibHac.Fs
|
|||
|
||||
lock (Locker)
|
||||
{
|
||||
BaseFs.CreateDirectory(path);
|
||||
BaseFs.CreateDirectory(fullPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -129,11 +129,12 @@ namespace LibHac.Fs.NcaUtils
|
|||
}
|
||||
}
|
||||
|
||||
// ReSharper disable once UnusedParameter.Local
|
||||
// ReSharper disable UnusedParameter.Local
|
||||
private IStorage OpenAesXtsStorage(IStorage baseStorage, int index)
|
||||
{
|
||||
throw new NotImplementedException("NCA sections using XTS are not supported yet.");
|
||||
}
|
||||
// ReSharper restore UnusedParameter.Local
|
||||
|
||||
private IStorage OpenAesCtrStorage(IStorage baseStorage, int index)
|
||||
{
|
||||
|
|
|
@ -491,7 +491,7 @@ namespace LibHac
|
|||
case 4: return "5.0.0-5.1.0";
|
||||
case 5: return "6.0.0-6.0.1";
|
||||
case 6: return "6.2.0";
|
||||
case 7: return "7.0.0";
|
||||
case 7: return "7.0.0-8.0.1";
|
||||
default: return "Unknown";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@ namespace hactoolnet
|
|||
{
|
||||
IStorage baseFile = new LocalStorage(ctx.Options.BaseNca, FileAccess.Read);
|
||||
baseNca = new Nca(ctx.Keyset, baseFile);
|
||||
ncaHolder.BaseNca = baseNca;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
|
@ -288,7 +287,6 @@ namespace hactoolnet
|
|||
private class NcaHolder
|
||||
{
|
||||
public Nca Nca;
|
||||
public Nca BaseNca;
|
||||
public Validity[] Validities = new Validity[4];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue