1
0
Fork 0
forked from suyu/suyu

nvdisp: Fix SingleCore frametime reporting

This commit is contained in:
Morph 2023-06-07 22:04:02 -04:00
parent 2e1e725443
commit 3e6d81a008

View file

@ -51,8 +51,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, android::PixelFormat form
stride, format, transform, crop_rect};
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
system.GetPerfStats().EndSystemFrame();
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
system.GetPerfStats().EndSystemFrame();
system.GetPerfStats().BeginSystemFrame();
}