Tastudio - fix backwards lag background color logic
This commit is contained in:
parent
0a6cda6fe2
commit
7a720a63b1
|
@ -67,6 +67,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
var record = _currentTasMovie[index];
|
var record = _currentTasMovie[index];
|
||||||
|
|
||||||
|
if (!(record.Lagged ?? false))
|
||||||
|
{
|
||||||
|
int zzz = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (columnName == FrameColumnName)
|
if (columnName == FrameColumnName)
|
||||||
{
|
{
|
||||||
if (Global.Emulator.Frame == index)
|
if (Global.Emulator.Frame == index)
|
||||||
|
@ -81,11 +86,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
if (record.Lagged.Value)
|
if (record.Lagged.Value)
|
||||||
{
|
{
|
||||||
color = record.HasState ? GreenZone_FrameCol : NoState_GreenZone_FrameCol;
|
color = record.HasState ? LagZone_FrameCol : NoState_LagZone_InputLog;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
color = record.HasState ? LagZone_FrameCol : NoState_LagZone_InputLog;
|
color = record.HasState ? GreenZone_FrameCol : NoState_GreenZone_FrameCol;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -105,11 +110,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
if (record.Lagged.Value)
|
if (record.Lagged.Value)
|
||||||
{
|
{
|
||||||
color = record.HasState ? GreenZone_InputLog : NoState_GreenZone_InputLog;
|
color = record.HasState ? LagZone_InputLog : NoState_LagZone_InputLog;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
color = record.HasState ? LagZone_InputLog : NoState_LagZone_InputLog;
|
color = record.HasState ? GreenZone_InputLog : NoState_GreenZone_InputLog;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue