diff --git a/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs b/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs index 4f806225..fd89e8f6 100644 --- a/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs +++ b/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs @@ -105,6 +105,8 @@ namespace Ryujinx.HLE.HOS.Applets _normalSession.Push(BuildResponse(result)); AppletStateChanged?.Invoke(this, null); + _system.ReturnFocus(); + return ResultCode.Success; } diff --git a/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs b/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs index 9cfe0253..7d77b83c 100644 --- a/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs +++ b/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs @@ -30,6 +30,8 @@ namespace Ryujinx.HLE.HOS.Applets AppletStateChanged?.Invoke(this, null); + _system.ReturnFocus(); + return ResultCode.Success; } diff --git a/Ryujinx.HLE/HOS/Horizon.cs b/Ryujinx.HLE/HOS/Horizon.cs index 0f66192a..fa88d775 100644 --- a/Ryujinx.HLE/HOS/Horizon.cs +++ b/Ryujinx.HLE/HOS/Horizon.cs @@ -330,6 +330,11 @@ namespace Ryujinx.HLE.HOS } } + public void ReturnFocus() + { + AppletState.SetFocus(true); + } + public void SimulateWakeUpMessage() { AppletState.Messages.Enqueue(MessageInfo.Resume);