TI-83 - load file menu option - make the open file dialog more useful
This commit is contained in:
parent
00fb58bea5
commit
ddae5c6d7d
|
@ -2270,7 +2270,7 @@
|
|||
//
|
||||
this.LoadTIFileMenuItem.Name = "LoadTIFileMenuItem";
|
||||
this.LoadTIFileMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.LoadTIFileMenuItem.Text = "Load TI File...";
|
||||
this.LoadTIFileMenuItem.Text = "Load TI-83 File...";
|
||||
this.LoadTIFileMenuItem.Click += new System.EventHandler(this.LoadTIFileMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator13
|
||||
|
|
|
@ -1528,7 +1528,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void LoadTIFileMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var ofd = new OpenFileDialog();
|
||||
var ofd = new OpenFileDialog
|
||||
{
|
||||
InitialDirectory = PathManager.GetRomsPath(Global.Emulator.SystemId),
|
||||
Filter = "TI-83 Program Files (*.83p,*.8xp)|*.83P;*.8xp|All Files|*.*",
|
||||
RestoreDirectory = true
|
||||
};
|
||||
|
||||
if (ofd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue