Queue max 1 vsync, fix high FPS after a slowdown
This commit is contained in:
parent
b44ad9feba
commit
46e31fa42e
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ namespace Ryujinx
|
|||
{
|
||||
RenderFrame();
|
||||
|
||||
Ticks -= TicksPerFrame;
|
||||
//Queue max. 1 vsync
|
||||
Ticks = Math.Min(Ticks - TicksPerFrame, TicksPerFrame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue