Explorar o código

nvdisp: Fix SingleCore frametime reporting

Morph %!s(int64=3) %!d(string=hai) anos
pai
achega
3e6d81a008
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp

+ 1 - 1
src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp

@@ -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();
 }