store lag frame information into movies. Have TAStudio highlight lag frames in pink. Currently only hooked up for the NES core.
This commit is contained in:
parent
4b074b7d26
commit
823edd2f67
|
@ -250,7 +250,8 @@ namespace BizHawk.MultiClient
|
|||
|
||||
if (ControlType == "NES Controls")
|
||||
{
|
||||
input.Append(IsBasePressed("Reset") ? "r" : ".");
|
||||
input.Append(IsBasePressed("Reset") ? "r" :
|
||||
Global.Emulator.IsLagFrame ? "L" : ".");
|
||||
input.Append("|");
|
||||
for (int player = 1; player <= 2; player++)
|
||||
{
|
||||
|
@ -554,7 +555,7 @@ namespace BizHawk.MultiClient
|
|||
if (ControlType == "NES Controls")
|
||||
{
|
||||
if (mnemonic.Length < 10) return;
|
||||
Force("Reset", mnemonic[1] != '.' && mnemonic[1] != '0');
|
||||
Force("Reset", mnemonic[1] != '.' && mnemonic[1] != '0' && mnemonic[1] != 'L');
|
||||
int ctr = 3;
|
||||
Force("P1 Right", c[ctr++]);
|
||||
Force("P1 Left", c[ctr++]);
|
||||
|
|
|
@ -104,6 +104,8 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
if (index == Global.Emulator.Frame)
|
||||
color = Color.LightGreen;
|
||||
else if (Global.MovieSession.Movie.GetInputFrame(index)[1] == 'L')
|
||||
color = Color.Pink;
|
||||
}
|
||||
|
||||
private void TASView_QueryItemText(int index, int column, out string text)
|
||||
|
|
Loading…
Reference in New Issue