public void SwitchToXmb() { Log.WriteLine(Verbosity.Normal, Feature.General, "Instance: switching to game picker"); _video.Cleanup(); #if XMB _xmb.Enable(); #else DummyDelegate del = delegate() { try { //this.Stop(); _picker = new Noxa.Emulation.Psp.Player.GamePicker.PickerDialog(this); if (_picker.ShowDialog(_host.Player) == System.Windows.Forms.DialogResult.OK) { } _picker = null; } catch (Exception ex) { System.Diagnostics.Debugger.Break(); throw ex; } }; _host.Player.Invoke(del); #endif }
public void SwitchToXmb() { Log.WriteLine( Verbosity.Normal, Feature.General, "Instance: switching to game picker" ); _video.Cleanup(); #if XMB _xmb.Enable(); #else DummyDelegate del = delegate() { try { //this.Stop(); _picker = new Noxa.Emulation.Psp.Player.GamePicker.PickerDialog( this ); if( _picker.ShowDialog( _host.Player ) == System.Windows.Forms.DialogResult.OK ) { } _picker = null; } catch( Exception ex ) { System.Diagnostics.Debugger.Break(); throw ex; } }; _host.Player.Invoke( del ); #endif }