Skip to content

Commit

Permalink
Fixed problem when starting VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
daviunic committed Aug 16, 2020
1 parent 7fedfc5 commit a5fb794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 86BoxManager/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ private void VMStart()
{
Process p = new Process();
p.StartInfo.FileName = exepath + "86Box.exe";
p.StartInfo.Arguments = "-P \"" + lstVMs.SelectedItems[0].SubItems[2].Text + "\" -H " + ZEROID + "," + hWndHex;
p.StartInfo.Arguments = "-P \"" + lstVMs.SelectedItems[0].SubItems[3].Text + "\" -H " + ZEROID + "," + hWndHex;
if (logging)
{
p.StartInfo.Arguments += " -L \"" + logpath + "\"";
Expand Down Expand Up @@ -767,7 +767,7 @@ private void VMConfigure()
{
Process p = new Process();
p.StartInfo.FileName = exepath + "86Box.exe";
p.StartInfo.Arguments = "-S -P \"" + lstVMs.SelectedItems[0].SubItems[2].Text + "\"";
p.StartInfo.Arguments = "-S -P \"" + lstVMs.SelectedItems[0].SubItems[3].Text + "\"";
if (!showConsole)
{
p.StartInfo.RedirectStandardOutput = true;
Expand Down

0 comments on commit a5fb794

Please sign in to comment.