[Folder] Implement Write with input filename

This commit is contained in:
Matt Nadareski
2018-03-05 11:37:41 -08:00
parent e0a92e836c
commit d585e8940b

View File

@@ -221,7 +221,8 @@ namespace SabreTools.Library.FileTypes
/// <remarks>This works for now, but it can be sped up by using Ionic.Zip or another zlib wrapper that allows for header values built-in. See edc's code.</remarks> /// <remarks>This works for now, but it can be sped up by using Ionic.Zip or another zlib wrapper that allows for header values built-in. See edc's code.</remarks>
public virtual bool Write(string inputFile, string outDir, Rom rom, bool date = false, bool romba = false) public virtual bool Write(string inputFile, string outDir, Rom rom, bool date = false, bool romba = false)
{ {
throw new NotImplementedException(); FileStream fs = Utilities.TryOpenRead(inputFile);
return Write(fs, outDir, rom, date, romba);
} }
/// <summary> /// <summary>