Remove some unused code and usings
This commit is contained in:
parent
caa0a29d9e
commit
7a4a210ccc
|
@ -3275,7 +3275,6 @@
|
|||
this.LinkConnectStatusBarButton.Size = new System.Drawing.Size(16, 17);
|
||||
this.LinkConnectStatusBarButton.Text = "Link connection is currently enabled";
|
||||
this.LinkConnectStatusBarButton.ToolTipText = "Link connection is currently enabled";
|
||||
this.LinkConnectStatusBarButton.Click += new System.EventHandler(this.LinkConnectStatusBarButton_Click);
|
||||
//
|
||||
// UpdateNotification
|
||||
//
|
||||
|
|
|
@ -4049,22 +4049,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
#endregion
|
||||
|
||||
private void LinkConnectStatusBarButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: it would be cool if clicking this toggled the state
|
||||
if (Global.Emulator.CoreComm.LinkConnected == true)
|
||||
{
|
||||
//Disconnect
|
||||
//This Value: cablediscosignal_new Changes to False, The Core will disconnect
|
||||
|
||||
}
|
||||
else if (Global.Emulator.CoreComm.LinkConnected == false)
|
||||
{
|
||||
//Reconnect
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void FeaturesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.Load<CoreFeatureAnalysis>();
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BizHawk.Emulation.Common
|
||||
namespace BizHawk.Emulation.Common
|
||||
{
|
||||
public class NullSound : ISoundProvider
|
||||
{
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BizHawk.Emulation.Common
|
||||
{
|
||||
public class CoreComm
|
||||
{
|
||||
public CoreComm(Action<string> ShowMessage, Action<string> NotifyMessage)
|
||||
public CoreComm(Action<string> showMessage, Action<string> NotifyMessage)
|
||||
{
|
||||
this.ShowMessage = ShowMessage;
|
||||
this.Notify = NotifyMessage;
|
||||
ShowMessage = showMessage;
|
||||
Notify = NotifyMessage;
|
||||
}
|
||||
|
||||
public ICoreFileProvider CoreFileProvider;
|
||||
|
@ -22,6 +19,7 @@ namespace BizHawk.Emulation.Common
|
|||
return VsyncNum / (double)VsyncDen;
|
||||
}
|
||||
}
|
||||
|
||||
public int VsyncNum = 60;
|
||||
public int VsyncDen = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue