Address jd's comment correctly
This commit is contained in:
parent
2126263fac
commit
fc644bdf3b
1 changed files with 1 additions and 3 deletions
|
@ -54,11 +54,9 @@ namespace Ryujinx.HLE.HOS.Services.Bcat.ServiceCreator
|
|||
private void WriteDeliveryCacheProgressImpl(ServiceCtx context, IpcRecvListBuffDesc ipcDesc, DeliveryCacheProgressImpl deliveryCacheProgress)
|
||||
{
|
||||
using (MemoryStream memory = new MemoryStream((int)ipcDesc.Size))
|
||||
using (BinaryWriter bufferWriter = new BinaryWriter(memory))
|
||||
{
|
||||
BinaryWriter bufferWriter = new BinaryWriter(memory);
|
||||
|
||||
bufferWriter.WriteStruct(deliveryCacheProgress);
|
||||
|
||||
context.Memory.WriteBytes(ipcDesc.Position, memory.ToArray());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue