From dc8c781d7a8a6778e493cca798cf2a7d298983de Mon Sep 17 00:00:00 2001 From: riperiperi Date: Sat, 17 Apr 2021 17:57:03 +0100 Subject: Return focus from controller applet after completion (#2218) * Return focus from controller applet after completion This fixes controller applet related in Mario Kart 8 Deluxe, in 2 player mode or when opening the applet in character select. * Return focus for player select --- Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs') 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; } -- cgit v1.2.3