dont fail importing firmwares when target directory doesnt exist
This commit is contained in:
parent
a7ae3c0cfc
commit
283de943d7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue