mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 23:10:47 -07:00
Lock GbpQueueBuffer till Vsync is signalled (#367)
* Initial Framerate limit implementation * use seperate event for limiter * check for vsync signal after queue up framebuffer * removed ingame toggle * fix nits
This commit is contained in:
committed by
Thomas Guillemard
parent
fc77b089a6
commit
db1a759c59
@ -199,6 +199,11 @@ namespace Ryujinx.HLE.HOS.Services.Android
|
||||
|
||||
SendFrameBuffer(Context, Slot);
|
||||
|
||||
if (Context.Device.EnableDeviceVsync)
|
||||
{
|
||||
Context.Device.VsyncEvent.WaitOne();
|
||||
}
|
||||
|
||||
return MakeReplyParcel(Context, 1280, 720, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user