test changing swap interval

This commit is contained in:
emmaus 2020-02-08 20:11:32 +00:00 committed by emmauss
parent 5a9dba0756
commit a80300e7db
2 changed files with 4 additions and 0 deletions

View file

@ -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);
}

View file

@ -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)