From 867c7fb2327b3667db0cf39348e6a6752154623f Mon Sep 17 00:00:00 2001 From: SuuperW Date: Mon, 16 Dec 2019 19:07:48 -0600 Subject: [PATCH] Create firmware folder if it doesn't exist on Windows; otherwise, an exception is thrown. --- BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs index 6c0751f964..763bddd6d0 100644 --- a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs +++ b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs @@ -359,7 +359,7 @@ namespace BizHawk.Client.EmuHawk private void tbbOpenFolder_Click(object sender, EventArgs e) { var frmWares = PathManager.MakeAbsolutePath(Global.Config.PathEntries.FirmwaresPathFragment, null); - if (OSTailoredCode.CurrentOS != OSTailoredCode.DistinctOS.Windows && !Directory.Exists(frmWares)) + if (!Directory.Exists(frmWares)) Directory.CreateDirectory(frmWares); System.Diagnostics.Process.Start(frmWares); }