mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Allow resizing when replacing file in savedata
This commit is contained in:
parent
fdefd5cf36
commit
c383b94632
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ namespace hactoolnet
|
|||
{
|
||||
if (inFile.GetSize() != outFile.GetSize())
|
||||
{
|
||||
ctx.Logger.LogMessage($"Replacement file must be the same size as the original file. ({outFile.GetSize()} bytes)");
|
||||
return;
|
||||
outFile.SetSize(inFile.GetSize());
|
||||
}
|
||||
|
||||
inFile.CopyTo(outFile, ctx.Logger);
|
||||
|
|
Loading…
Reference in a new issue