fix incorrect rusultcode value

This commit is contained in:
LotP1 2025-01-20 21:50:14 +01:00
parent 04ba762710
commit 8824422cf7

View File

@ -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;
}