mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-03 20:24:43 +01:00 
			
		
		
		
	nvdisp: End system frame after requesting to swap buffers
Fixes frametime reporting
This commit is contained in:
		
							parent
							
								
									11e1cbbdbd
								
							
						
					
					
						commit
						903705043d
					
				@ -50,8 +50,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, android::PixelFormat form
 | 
			
		||||
    const Tegra::FramebufferConfig framebuffer{addr,   offset, width,     height,
 | 
			
		||||
                                               stride, format, transform, crop_rect};
 | 
			
		||||
 | 
			
		||||
    system.GetPerfStats().EndSystemFrame();
 | 
			
		||||
    system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
 | 
			
		||||
    system.GetPerfStats().EndSystemFrame();
 | 
			
		||||
    system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
 | 
			
		||||
    system.GetPerfStats().BeginSystemFrame();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user