diff --git a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs index e4d783cf26..8762d580df 100644 --- a/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs +++ b/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs @@ -468,6 +468,7 @@ namespace BizHawk.Client.EmuHawk name += " (variant)"; target = Path.Combine(dir, name) + ext; } + Directory.CreateDirectory(Path.GetDirectoryName(target)); fi.CopyTo(target, false); return true; }