mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-17 07:37:06 +00:00
Added option to ignore applet (gamepad connection window will not appear when it is disconnected) (#40)
This option is under the hacks category for a reason; use if you know what you're doing.
This commit is contained in:
parent
c1bcc7cdf5
commit
6ed91448a9
24 changed files with 58 additions and 11 deletions
|
|
@ -9,6 +9,7 @@ using Ryujinx.HLE;
|
|||
using Ryujinx.HLE.HOS.Applets;
|
||||
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
|
||||
using Ryujinx.HLE.UI;
|
||||
using Ryujinx.UI.Common.Configuration;
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
|
|
@ -31,8 +32,15 @@ namespace Ryujinx.Ava.UI.Applet
|
|||
{
|
||||
ManualResetEvent dialogCloseEvent = new(false);
|
||||
|
||||
bool ignoreApplet = ConfigurationState.Instance.IgnoreApplet;
|
||||
bool okPressed = false;
|
||||
|
||||
if (ignoreApplet)
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Dispatcher.UIThread.InvokeAsync(async () =>
|
||||
{
|
||||
var response = await ControllerAppletDialog.ShowControllerAppletDialog(_parent, args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue