TAStudio - 0 based frame display

This commit is contained in:
adelikat 2014-07-10 20:15:46 +00:00
parent cf5ee09d5d
commit 238e9b4f73
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ namespace BizHawk.Client.EmuHawk
}
else
{
TasView.ensureVisible(Global.Emulator.Frame - 1);
TasView.ensureVisible(Global.Emulator.Frame);
}
}

View File

@ -13,7 +13,7 @@ namespace BizHawk.Client.EmuHawk
private void TasView_QueryItemBkColor(int index, int column, ref Color color)
{
var record = _tas[index];
if (Global.Emulator.Frame == index + 1)
if (Global.Emulator.Frame == index)
{
color = Color.LightBlue;
}
@ -46,11 +46,11 @@ namespace BizHawk.Client.EmuHawk
if (columnName == MarkerColumnName)
{
text = Global.Emulator.Frame == index + 1 ? ">" : string.Empty;
text = Global.Emulator.Frame == index ? ">" : string.Empty;
}
else if (columnName == FrameColumnName)
{
text = (index + 1).ToString().PadLeft(5, '0');
text = (index).ToString().PadLeft(5, '0');
}
else
{