Remove some unused code and usings

This commit is contained in:
adelikat 2016-02-28 13:35:41 -05:00
parent caa0a29d9e
commit 7a4a210ccc
4 changed files with 5 additions and 29 deletions

View File

@ -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
//

View File

@ -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>();

View File

@ -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
{

View File

@ -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;