Merge pull request #6317 from ameerj/fps-fix
perf_stats: Rework FPS counter to be more accurate
This commit is contained in:
commit
7d86a6ff02
10 changed files with 26 additions and 14 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue