diff --git a/src/hactoolnet/ProcessSave.cs b/src/hactoolnet/ProcessSave.cs index 09c6bb4f..a72d8632 100644 --- a/src/hactoolnet/ProcessSave.cs +++ b/src/hactoolnet/ProcessSave.cs @@ -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);