From 8824422cf795d825a220f30fc98696c641669c12 Mon Sep 17 00:00:00 2001 From: LotP1 Date: Mon, 20 Jan 2025 21:50:14 +0100 Subject: [PATCH] fix incorrect rusultcode value --- src/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs b/src/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs index 4a2a910f8..ade67b9c0 100644 --- a/src/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs +++ b/src/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs @@ -51,6 +51,9 @@ namespace Ryujinx.HLE.HOS.Services.Spl context.ResponseData.Write(configValue); + if (result == SmcResult.Success) + return ResultCode.Success; + return (ResultCode)((int)result << 9) | ResultCode.ModuleId; }