SubNESHawk: Fix up FPS viewer

This commit is contained in:
alyosha-tas 2019-01-12 10:41:50 -06:00
parent 5256284ac6
commit c5cfe9e412
1 changed files with 7 additions and 4 deletions

View File

@ -2950,10 +2950,6 @@ namespace BizHawk.Client.EmuHawk
GlobalWin.Tools.UpdateToolsBefore();
}
_framesSinceLastFpsUpdate++;
UpdateFpsDisplay(currentTimestamp, isRewinding, isFastForwarding);
CaptureRewind(isRewinding);
// Set volume, if enabled
@ -3041,6 +3037,13 @@ namespace BizHawk.Client.EmuHawk
AvFrameAdvance();
}
if (new_frame)
{
_framesSinceLastFpsUpdate++;
UpdateFpsDisplay(currentTimestamp, isRewinding, isFastForwarding);
}
if (GlobalWin.Tools.IsLoaded<TAStudio>() &&
GlobalWin.Tools.TAStudio.LastPositionFrame == Emulator.Frame)
{