aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Spl
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Spl')
-rw-r--r--Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs b/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
index 46c9fad1..75c308af 100644
--- a/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
+++ b/Ryujinx.HLE/HOS/Services/Spl/IRandomInterface.cs
@@ -15,7 +15,7 @@ namespace Ryujinx.HLE.HOS.Services.Spl
[Command(0)]
// GetRandomBytes() -> buffer<unknown, 6>
- public long GetRandomBytes(ServiceCtx context)
+ public ResultCode GetRandomBytes(ServiceCtx context)
{
byte[] randomBytes = new byte[context.Request.ReceiveBuff[0].Size];
@@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Spl
context.Memory.WriteBytes(context.Request.ReceiveBuff[0].Position, randomBytes);
- return 0;
+ return ResultCode.Success;
}
public void Dispose()