Flush buffers on copies

This commit is contained in:
gdk 2019-10-26 23:41:01 -03:00 committed by Thog
parent 8cba252b23
commit f2e84ff566
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);
}
}
}