Fix footer size chop

oops, another hotfix
This commit is contained in:
Kurt 2022-06-28 16:54:18 -07:00
parent 7e7b2bb2d3
commit 1d94baeb7f
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ public sealed class SaveHandlerBizHawk : ISaveHandler
return null;
var realSize = input.Length - sizeFooter;
var footer = input[^realSize..].ToArray();
var footer = input[realSize..].ToArray();
var data = input[..realSize].ToArray();
return new SaveHandlerSplitResult(data, Array.Empty<byte>(), footer);

View file

@ -33,7 +33,7 @@ public sealed class SaveHandlerDeSmuME : ISaveHandler
if (!GetHasFooter(input))
return null;
var footer = input[^RealSize..].ToArray();
var footer = input[RealSize..].ToArray();
var data = input[..RealSize].ToArray();
return new SaveHandlerSplitResult(data, Array.Empty<byte>(), footer);