Flush buffers on copies

This commit is contained in:
gdk 2019-10-26 23:41:01 -03:00 committed by Thog
parent 0c7c38df0f
commit 9a2c6c4ad6
3 changed files with 28 additions and 21 deletions

View file

@ -69,10 +69,6 @@ namespace Ryujinx.Graphics.Gpu.Engine
{
// Buffer to buffer copy.
_bufferManager.CopyBuffer(cbp.SrcAddress, cbp.DstAddress, (uint)size);
Span<byte> data = _context.MemoryAccessor.Read(cbp.SrcAddress.Pack(), (uint)size);
_context.MemoryAccessor.Write(cbp.DstAddress.Pack(), data);
}
}
}