nsd/ssl: Fix Resolve/ResolveEx and stub GetConnectionCount (#2208)

This commit is contained in:
Ac_K 2021-04-14 14:47:19 +02:00 committed by GitHub
parent 6cb22c9d38
commit 9575a7638a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 5 deletions

View file

@ -78,7 +78,12 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService
long inputDataPosition = context.Request.SendBuff[0].Position;
long inputDataSize = context.Request.SendBuff[0].Size;
uint transferredSize = 0;
byte[] data = new byte[inputDataSize];
context.Memory.Read((ulong)inputDataPosition, data);
// NOTE: Tell the guest everything is transferred.
uint transferredSize = (uint)inputDataSize;
context.ResponseData.Write(transferredSize);