Queue max 1 vsync, fix high FPS after a slowdown

This commit is contained in:
ReinUsesLisp 2018-07-11 20:15:49 -03:00
commit 46e31fa42e

View file

@ -91,7 +91,8 @@ namespace Ryujinx
{ {
RenderFrame(); RenderFrame();
Ticks -= TicksPerFrame; //Queue max. 1 vsync
Ticks = Math.Min(Ticks - TicksPerFrame, TicksPerFrame);
} }
} }
} }