fix: software keyboard not working on miiEdit

This commit is contained in:
Jacobwasbeast 2025-02-12 21:44:33 -06:00
parent 8bc5d1e61d
commit 85f47f996c
2 changed files with 4 additions and 1 deletions

View File

@ -592,7 +592,7 @@ namespace Ryujinx.HLE.HOS.Applets
{ {
if (_applets.TryGetValue(pid, out applet)) if (_applets.TryGetValue(pid, out applet))
{ {
if (_applets.Count > 1) if (_applets.Count > 2)
{ {
return true; return true;
} }

View File

@ -136,6 +136,9 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
_acquiredSleepLockEvent.ReadableEvent.Signal(); _acquiredSleepLockEvent.ReadableEvent.Signal();
_applet.AppletState.SetFocusForce(true);
context.Device.System.WindowSystem.RequestApplicationToGetForeground(_applet.ProcessHandle.Pid);
return ResultCode.Success; return ResultCode.Success;
} }