Skip to content

Commit

Permalink
Bump version, fix multi-emulator freaking out on Windowless processes
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchyPSIX committed Dec 23, 2020
1 parent 6ffd3c6 commit 63e9748
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions M64MM2/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using M64MM.Additions;
using System.Diagnostics;
using System.ComponentModel;
using System.Linq;

namespace M64MM2
{
Expand Down Expand Up @@ -179,8 +180,17 @@ void Update(object sender, EventArgs e)

void MoreThanOneEmu(object sender, Process[] proc)
{
EmuSelectorForm es = new EmuSelectorForm(proc);
es.ShowDialog();
Process[] n_plist = proc.Where(x => !string.IsNullOrEmpty(x.MainWindowTitle)).ToArray();
EmuSelectorForm es = new EmuSelectorForm(n_plist);
if (n_plist.Length > 1)
{
es.ShowDialog();
}
else
{
StopProcessSearch = false;
}

}

void EmulatorSelected(object sender, EventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion M64MM2/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion M64MM2/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<value>long</value>
</data>
<data name="prereleaseString" xml:space="preserve">
<value>-alpha2.wgp1</value>
<value>-alpha3</value>
</data>
<data name="invalidAnimSelected" xml:space="preserve">
<value>You have entered an invalid animation name into {0}. Please make sure to choose a valid option from the list.</value>
Expand Down

0 comments on commit 63e9748

Please sign in to comment.