--- trunk/RomCheater/PIDSelector.cs 2012/05/09 20:52:20 88 +++ trunk/RomCheater/PIDSelector.cs 2012/05/09 22:23:18 93 @@ -33,12 +33,12 @@ namespace RomCheater public new DialogResult ShowDialog(IWin32Window owner) { return this.PreInitDialog(owner); } private void PreInitShow(IWin32Window owner) { - if (!this.RefreshList()) { MessageBox.Show("Could not find any PCSX2 Processes. Please start an instance of one."); } + if (!this.RefreshList()) { MessageBox.Show(string.Format("Could not find any Processes for plugin {0}. Please start an instance of one.",plugin.ToString())); } else { if (owner == null) { base.Show(); } else { base.Show(owner); } } } private DialogResult PreInitDialog(IWin32Window owner) { - if (!this.RefreshList()) { MessageBox.Show("Could not find any PCSX2 Processes. Please start an instance of one."); return DialogResult.Cancel; } + if (!this.RefreshList()) { MessageBox.Show(string.Format("Could not find any Processes for plugin {0}. Please start an instance of one.", plugin.ToString())); return DialogResult.Cancel; } else { if (owner == null) { return base.ShowDialog(); } else { return base.ShowDialog(owner); } } } private void btnLargeIcon_Click(object sender, EventArgs e) { this.lstProcessList.View = View.LargeIcon; } @@ -68,6 +68,7 @@ namespace RomCheater private bool RefreshList() { lstProcessList.Items.Clear(); + this.plugin.Reload(); // create a selection of PCSX2 processes List<ProcContainer> proc_list = plugin.ValidProcessesForPlugin; |