Forgot to reset instant count/time

This commit is contained in:
Andy Adshead 2019-02-01 03:01:21 +00:00
parent 7ba4125e5a
commit df07078477

View file

@ -152,6 +152,13 @@ namespace Ryujinx.Profiler
_preserve = PerformanceCounter.ElapsedTicks;
ClearTimerQueue();
// Reset all instant counts
foreach (KeyValuePair<ProfileConfig, TimingInfo> timer in Timers)
{
timer.Value.Instant = 0;
timer.Value.InstantCount = 0;
}
return Timers;
}