[ALL] One utility class now

This commit is contained in:
Matt Nadareski
2017-11-08 00:27:00 -08:00
parent 65ef5785ef
commit 5dd08cba63
40 changed files with 1014 additions and 1037 deletions

View File

@@ -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;
}