From bea0479d82319bbd75951b2ebdef30e8fc7cb420 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 1 Feb 2015 09:57:23 -0800 Subject: [PATCH] Add override verbosity --- pk3DS/Main.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pk3DS/Main.cs b/pk3DS/Main.cs index 22a3246..6dbccb3 100644 --- a/pk3DS/Main.cs +++ b/pk3DS/Main.cs @@ -29,7 +29,7 @@ public Main() if (File.Exists("config.ini")) { string path = File.ReadAllText("config.ini"); - if (path.Length > 0) openQuick(path); + if (path.Length > 0) openQuick(path); } } public static bool oras = false; @@ -102,7 +102,7 @@ private bool checkIfRomFS(string path) oras = false; else // Allow Override { - DialogResult dr = Util.Prompt(MessageBoxButtons.YesNoCancel, "Loading Override Options:", "Yes - OR/AS" + Environment.NewLine + "No - X/Y" + Environment.NewLine + "Cancel - Abort"); + DialogResult dr = Util.Prompt(MessageBoxButtons.YesNoCancel, "Loading Override Options:", "Yes - OR/AS" + Environment.NewLine + "No - X/Y" + Environment.NewLine + "Cancel - Abort", "Path:" + Environment.NewLine + path); if (dr == DialogResult.Yes) { oras = true; } else if (dr == DialogResult.No) { oras = false; } else { RomFS = null; oras = false; return false; } @@ -591,12 +591,13 @@ private void rebuildExeFS(object sender, EventArgs e) sfd.Filter = "Binary File|*.*"; if (sfd.ShowDialog() == DialogResult.OK) { - new Thread(() => { - threads++; - new blz.BLZCoder(new string[] { "-en", files[file] }, pBar1); + new Thread(() => + { + threads++; + new blz.BLZCoder(new string[] { "-en", files[file] }, pBar1); Util.Alert("Compressed!"); ExeFSTool.set(Directory.GetFiles(ExeFS), sfd.FileName); - threads--; + threads--; }).Start(); } }