mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix Nintendo 64 images not marked as closed after closing.
This commit is contained in:
@@ -228,7 +228,7 @@ public class Nintendo64 : IByteAddressableImage
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public long Position { get; set; }
|
||||
public long Position { get => _position; set => _position = value; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public ErrorNumber Create(string path, MediaType mediaType, Dictionary<string, string> options, long maximumSize)
|
||||
@@ -563,6 +563,9 @@ public class Nintendo64 : IByteAddressableImage
|
||||
_dataStream.Write(_data, 0, _data.Length);
|
||||
_dataStream.Close();
|
||||
|
||||
IsWriting = false;
|
||||
_opened = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user