示例#1
0
        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
        }
示例#2
0
 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
 }