Merge pull request #6317 from ameerj/fps-fix

perf_stats: Rework FPS counter to be more accurate
This commit is contained in:
bunnei
2021-05-18 19:56:29 -07:00
committed by GitHub
10 changed files with 26 additions and 14 deletions

View File

@ -52,7 +52,6 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3
addr, offset, width, height, stride, static_cast<PixelFormat>(format),
transform, crop_rect};
system.GetPerfStats().EndGameFrame();
system.GetPerfStats().EndSystemFrame();
system.GPU().SwapBuffers(&framebuffer);
system.FrameLimiter().DoFrameLimiting(system.CoreTiming().GetGlobalTimeUs());