Rip out "wasPressed" code, remove debug code left in by accident from inputwidget
This commit is contained in:
parent
4ac74a20b3
commit
f3e4cdcd16
|
@ -44,7 +44,6 @@ namespace BizHawk.MultiClient
|
|||
bool runloop_frameadvance;
|
||||
DateTime runloop_second;
|
||||
bool runloop_last_ff;
|
||||
public string wasPressed = ""; //Last frame mnemonic
|
||||
|
||||
Throttle throttle = new Throttle();
|
||||
bool unthrottled = false;
|
||||
|
@ -1203,8 +1202,6 @@ namespace BizHawk.MultiClient
|
|||
UnpauseEmulator();
|
||||
}
|
||||
}
|
||||
|
||||
wasPressed = Global.GetOutputControllersAsMnemonic();
|
||||
PressFrameAdvance = false;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -338,7 +338,6 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
if (Global.Config.DisplayInput)
|
||||
{
|
||||
string input = MakeLastInputDisplay();
|
||||
Color c;
|
||||
x = GetX(Global.Config.DispInpx, Global.Config.DispInpanchor);
|
||||
y = GetY(Global.Config.DispInpy, Global.Config.DispInpanchor);
|
||||
|
@ -349,9 +348,8 @@ namespace BizHawk.MultiClient
|
|||
else
|
||||
c = Color.FromArgb(Global.Config.MessagesColor);
|
||||
|
||||
MessageFont.DrawString(null, input, x + 2, y + 2, new Color4(Color.Black));
|
||||
MessageFont.DrawString(null, input, x + 1, y + 1, Color.FromArgb(Global.Config.LastInputColor));
|
||||
input = MakeInputDisplay();
|
||||
string input = MakeInputDisplay();
|
||||
MessageFont.DrawString(null, input, x + 1, y + 1, Color.Black);
|
||||
MessageFont.DrawString(null, input, x, y, c);
|
||||
}
|
||||
if (Global.MainForm.UserMovie.MultiTrack.IsActive)
|
||||
|
@ -489,14 +487,6 @@ namespace BizHawk.MultiClient
|
|||
return tmp;
|
||||
}
|
||||
|
||||
public string MakeLastInputDisplay()
|
||||
{
|
||||
string tmp = Global.MainForm.wasPressed;
|
||||
tmp = tmp.Replace(".", " ");
|
||||
tmp = tmp.Replace("|", "");
|
||||
return tmp;
|
||||
}
|
||||
|
||||
public string MakeRerecordCount()
|
||||
{
|
||||
string tmp = "";
|
||||
|
|
|
@ -30,7 +30,6 @@ namespace BizHawk.MultiClient
|
|||
this.timer.Tick += new System.EventHandler(this.Timer_Tick);
|
||||
InitializeBindings();
|
||||
tooltip1.AutoPopDelay = 2000;
|
||||
FlagDuplicate("Ur mom's button");
|
||||
}
|
||||
|
||||
public InputWidget(int maxBindings)
|
||||
|
|
Loading…
Reference in New Issue