Fixed overlay1 not compressing properly [spaces in ROM path]

This commit is contained in:
AdAstra-LD
2021-01-08 13:14:23 +01:00
parent 5c0aa5fd62
commit aea66d503a

View File

@@ -50,7 +50,7 @@ namespace DSPRE {
private void CompressOverlay(int overlayNumber) {
Process unpack = new Process();
unpack.StartInfo.FileName = @"Tools\blz.exe";
unpack.StartInfo.Arguments = "-en " + workingFolder + "overlay" + "\\" + "overlay_" + overlayNumber.ToString("D4") + ".bin";
unpack.StartInfo.Arguments = "-en " + '"' + workingFolder + "overlay" + "\\" + "overlay_" + overlayNumber.ToString("D4") + ".bin" + '"';
Application.DoEvents();
unpack.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
unpack.StartInfo.CreateNoWindow = true;