diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs index e70666ed9d..b3cbfaf29c 100644 --- a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs +++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs @@ -153,6 +153,8 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger context.Device.VsyncEvent.WaitOne(); } + context.Device.NextSwapInterval = queueBufferObject.SwapInterval; + return MakeReplyParcel(context, 1280, 720, 0, 0, 0); } diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index b7db5c6251..d10fe17237 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -34,6 +34,8 @@ namespace Ryujinx.HLE public AutoResetEvent VsyncEvent { get; private set; } + public int NextSwapInterval { get; set; } + public event EventHandler Finish; public Switch(VirtualFileSystem fileSystem, ContentManager contentManager, IRenderer renderer, IAalOutput audioOut)