Remove some unused code
This commit is contained in:
parent
ab5cfab035
commit
9fd640ff4b
|
@ -1,7 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
|
@ -40,8 +37,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
int? newRow;
|
||||
string newColumn = String.Empty;
|
||||
|
||||
string columnName = String.Empty;
|
||||
|
||||
var accumulator = 0;
|
||||
foreach (ColumnHeader column in Columns)
|
||||
{
|
||||
|
@ -50,11 +45,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
newColumn = column.Name;
|
||||
break;
|
||||
}
|
||||
|
||||
newColumn = column.Name;
|
||||
break;
|
||||
}
|
||||
|
||||
var headerHeight = 24; //Are these always true? Don't know, is there a way to programmatically determine them?
|
||||
|
|
|
@ -147,7 +147,6 @@ namespace BizHawk.Client.EmuHawk.FilterManager
|
|||
}
|
||||
|
||||
SurfaceState currState = null;
|
||||
List<SurfaceFormat> RenderTargets = new List<SurfaceFormat>();
|
||||
|
||||
for (int i = 0; i < Filters.Count; i++)
|
||||
{
|
||||
|
|
|
@ -269,7 +269,6 @@ namespace BizHawk.Client.EmuHawk.Filters
|
|||
shader.Pipeline[kvp.Key].Set((float)kvp.Value);
|
||||
}
|
||||
|
||||
var outDisposition = FindOutput().SurfaceDisposition;
|
||||
var input = InputTexture;
|
||||
if (SP.InputFilterLinear)
|
||||
InputTexture.SetFilterLinear();
|
||||
|
|
|
@ -189,7 +189,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
var dptr = (int*)bmpdata.Scan0.ToPointer();
|
||||
var pitch = bmpdata.Stride / 4;
|
||||
var pt_add = _nes.ppu.reg_2000.bg_pattern_hi ? 0x1000 : 0;
|
||||
|
||||
// Buffer all the data from the ppu, because it will be read multiple times and that is slow
|
||||
var ppuBuffer = new byte[0x3000];
|
||||
|
|
|
@ -832,8 +832,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
//txtPaletteDetailsIndexSpecific.Text = string.Format("{0}", lastColorNum & 0x7F);
|
||||
|
||||
txtPaletteDetailsAddress.Text = string.Format("${0:X3}", lastColorNum * 2);
|
||||
|
||||
string test = string.Format(@"Pal# ${0:X2} @{1:X3}", lastColorNum, lastColorNum * 2);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
try
|
||||
{
|
||||
var columnName = TasView.Columns[column].Name;
|
||||
var columnText = TasView.Columns[column].Text;
|
||||
//var columnText = TasView.Columns[column].Text;
|
||||
|
||||
if (columnName == MarkerColumnName)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue