clean up some debugging code, and remove a warning

This commit is contained in:
adelikat 2014-06-19 21:37:28 +00:00
parent 031eb5a282
commit 7f070737cc
2 changed files with 2 additions and 11 deletions

View File

@ -281,15 +281,6 @@ namespace BizHawk.Client.EmuHawk
var lg = Global.MovieSession.LogGeneratorInstance();
lg.SetSource(stickyOr);
var test = lg.GenerateInputDisplay();
if (test.Trim() != string.Empty)
{
int zzz = 0;
zzz++;
int yyy = zzz;
yyy++;
}
return lg.GenerateInputDisplay();
}

View File

@ -24,7 +24,7 @@ namespace BizHawk.Client.EmuHawk
// Input Painting
private string _startDrawColumn = string.Empty;
private bool _startOn;
//private bool _startOn;
private bool _startMarkerDrag;
private bool _startFrameDrag;
@ -538,7 +538,7 @@ namespace BizHawk.Client.EmuHawk
}
else if (TasView.IsPaintDown && e.NewCell.Row.HasValue && !string.IsNullOrEmpty(_startDrawColumn))
{
_tas.SetBoolButton(e.NewCell.Row.Value, _startDrawColumn, _startOn); // Notice it uses new row, old column, you can only paint across a single column
_tas.SetBoolButton(e.NewCell.Row.Value, _startDrawColumn, /*_startOn*/ false); // Notice it uses new row, old column, you can only paint across a single column
TasView.Refresh();
}
}