aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Ui/GtkHostUiHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Ui/GtkHostUiHandler.cs')
-rw-r--r--Ryujinx/Ui/GtkHostUiHandler.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Ryujinx/Ui/GtkHostUiHandler.cs b/Ryujinx/Ui/GtkHostUiHandler.cs
index 90830056..fd193dd7 100644
--- a/Ryujinx/Ui/GtkHostUiHandler.cs
+++ b/Ryujinx/Ui/GtkHostUiHandler.cs
@@ -2,6 +2,7 @@ using Gtk;
using Ryujinx.Common.Logging;
using Ryujinx.HLE;
using Ryujinx.HLE.HOS.Applets;
+using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
using System;
using System.Threading;
@@ -121,5 +122,11 @@ namespace Ryujinx.Ui
return error || okPressed;
}
+
+ public void ExecuteProgram(HLE.Switch device, ProgramSpecifyKind kind, ulong value)
+ {
+ device.UserChannelPersistence.ExecuteProgram(kind, value);
+ MainWindow.GlWidget?.Exit();
+ }
}
}