From 16d88c21fc98cd7302811e142a39d590370e182e Mon Sep 17 00:00:00 2001 From: gdk Date: Sat, 23 Nov 2019 23:24:03 -0300 Subject: Improved and simplified window texture presentation --- Ryujinx.HLE/Switch.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Ryujinx.HLE/Switch.cs') diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index e5a5f273..9df1d757 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -122,6 +122,11 @@ namespace Ryujinx.HLE Gpu.DmaPusher.DispatchCalls(); } + public void PresentFrame(Action swapBuffersCallback) + { + Gpu.Window.Present(swapBuffersCallback); + } + internal void Unload() { FileSystem.Dispose(); -- cgit v1.2.3