diff --git a/LibHac/Save/AllocationTableStream.cs b/LibHac/Save/AllocationTableStream.cs index c8bcdf8c..49785789 100644 --- a/LibHac/Save/AllocationTableStream.cs +++ b/LibHac/Save/AllocationTableStream.cs @@ -53,7 +53,20 @@ namespace LibHac.Save public override long Seek(long offset, SeekOrigin origin) { - throw new NotImplementedException(); + switch (origin) + { + case SeekOrigin.Begin: + Position = offset; + break; + case SeekOrigin.Current: + Position += offset; + break; + case SeekOrigin.End: + Position = Length - offset; + break; + } + + return Position; } public override void SetLength(long value)