mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] One utility class now
This commit is contained in:
@@ -426,7 +426,7 @@ namespace ROMVault2.SupportedFiles.Zip
|
||||
}
|
||||
|
||||
// Now try to open the file for reading
|
||||
_zipstream = FileTools.TryOpenRead(filename);
|
||||
_zipstream = Utilities.TryOpenRead(filename);
|
||||
int read = _zipstream.Read(new byte[1], 0, 1);
|
||||
if (read != 1)
|
||||
{
|
||||
@@ -757,7 +757,7 @@ namespace ROMVault2.SupportedFiles.Zip
|
||||
_zipstream.Dispose();
|
||||
|
||||
// Delete the failed file
|
||||
FileTools.TryDeleteFile(_zipFileInfo.FullName);
|
||||
Utilities.TryDeleteFile(_zipFileInfo.FullName);
|
||||
_zipFileInfo = null;
|
||||
_zipOpen = ZipOpenType.Closed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user