MultiDiskBundler - don't autofill stuff if the current "rom" is a .xml file
This commit is contained in:
parent
a04a80bfce
commit
7af274c1cc
|
@ -26,7 +26,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void MultiGameCreator_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Global.Game.IsNullInstance)
|
||||
AddButton_Click(null, null);
|
||||
AddButton_Click(null, null);
|
||||
|
||||
if (!Global.Game.IsNullInstance && !GlobalWin.MainForm.CurrentlyOpenRom.EndsWith(".xml"))
|
||||
{
|
||||
string currentRom = GlobalWin.MainForm.CurrentlyOpenRom;
|
||||
if (GlobalWin.MainForm.CurrentlyOpenRom.Contains("|"))
|
||||
|
@ -47,14 +50,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
SystemDropDown.SelectedItem = Global.Emulator.SystemId;
|
||||
}
|
||||
}
|
||||
|
||||
AddButton_Click(null, null);
|
||||
AddButton_Click(null, null);
|
||||
|
||||
if (!Global.Game.IsNullInstance)
|
||||
{
|
||||
FileSelectors.First().SetName(GlobalWin.MainForm.CurrentlyOpenRom);
|
||||
FileSelectors.First().SetName(GlobalWin.MainForm.CurrentlyOpenRom);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue