diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-10-26 23:41:01 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | f2e84ff566b824aeb5158fa8432d7b26e2f94a09 (patch) | |
| tree | 01e8c99340f5f3bc9715c75fe5bdce9a20d64703 /Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs | |
| parent | 8cba252b238ee6cf6599ad2fc57793e6f76c5e2e (diff) | |
Flush buffers on copies
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs b/Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs index 19ffb0e3..40560ab1 100644 --- a/Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs +++ b/Ryujinx.Graphics.Gpu/Engine/MethodCopyBuffer.cs @@ -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); } } } |
