From 94cafdd1f9d6540fbd818b6a1e81cbdeeae284d9 Mon Sep 17 00:00:00 2001 From: Neo Date: Wed, 2 Sep 2026 03:58:09 +0300 Subject: [PATCH] Implement: TrySelectUserWithoutInteraction Command 52 Adds support for IAccountServiceForApplication command 52, TrySelectUserWithoutInteraction, introduced in Firmware 19.0.0. Command 51 (TrySelectUserWithoutInteractionDeprecated) and command 52 use the existing ApplicationServiceServer.TrySelectUserWithoutInteraction implementation. This prevents newer titles from failing when requesting automatic user selection through the new command. Tomb Raider: Definitive Edition is now fully playable. (cherry picked from commit c57e91cc599e6b4061c7e7ecfda1b142fc2ae4d2) --- .../Account/Acc/IAccountServiceForApplication.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs b/src/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs index 759613752..c6ec9c454 100644 --- a/src/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs +++ b/src/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs @@ -71,7 +71,14 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return _applicationServiceServer.IsUserRegistrationRequestPermitted(context); } - [CommandCmif(51)] + [CommandCmif(51)] // 1.0.0 – 18.1.0 + // TrySelectUserWithoutInteraction(bool) -> nn::account::Uid + public ResultCode TrySelectUserWithoutInteractionDeprecated(ServiceCtx context) + { + return _applicationServiceServer.TrySelectUserWithoutInteraction(context); + } + + [CommandCmif(52)] // 19.0.0+ // TrySelectUserWithoutInteraction(bool) -> nn::account::Uid public ResultCode TrySelectUserWithoutInteraction(ServiceCtx context) {