diff --git a/pk3DS/Tools/ToolsUI.cs b/pk3DS/Tools/ToolsUI.cs index bf396db..e7ec829 100644 --- a/pk3DS/Tools/ToolsUI.cs +++ b/pk3DS/Tools/ToolsUI.cs @@ -43,9 +43,10 @@ private void tabMain_DragDrop(object sender, DragEventArgs e) saveARC(path); else try { CTR.LZSS.Decompress(path, Path.Combine(Path.GetDirectoryName(path), "dec_" + Path.GetFileName(path))); - } catch { try { + System.Media.SystemSounds.Asterisk.Play(); + } catch { try { if (threads < 1) new Thread(() => { threads++; new CTR.BLZCoder(new[] { "-d", path }, pBar1); threads--; Util.Alert("Decompressed!"); }).Start(); - } catch { Util.Error("Unable to process file."); } } + } catch { Util.Error("Unable to process file."); threads = 0; } } } private void dropHover(object sender, EventArgs e) {