HD Packs: Fixed "Install HD Pack" folder name when rom contains period in name
This commit is contained in:
parent
e9b82ae5f0
commit
005affab4b
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ namespace Mesen.GUI.Forms
|
|||
|
||||
//Extract HD pack
|
||||
try {
|
||||
string targetFolder = Path.Combine(ConfigManager.HdPackFolder, Path.GetFileNameWithoutExtension(romInfo.GetRomName()));
|
||||
string targetFolder = Path.Combine(ConfigManager.HdPackFolder, romInfo.GetRomName());
|
||||
if(Directory.Exists(targetFolder)) {
|
||||
//Warn if the folder already exists
|
||||
if(MesenMsgBox.Show("InstallHdPackConfirmOverwrite", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, targetFolder) != DialogResult.OK) {
|
||||
|
|
Loading…
Add table
Reference in a new issue