|
|
@@ -47,8 +47,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|
|
HostBuffer = context.Renderer.CreateBuffer((int)size);
|
|
|
|
|
|
_sequenceNumbers = new int[size / MemoryManager.PageSize];
|
|
|
-
|
|
|
- Invalidate();
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -152,14 +150,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|
|
_context.PhysicalMemory.Write(address, data);
|
|
|
}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// Invalidates all the buffer data, causing it to be read from guest memory.
|
|
|
- /// </summary>
|
|
|
- public void Invalidate()
|
|
|
- {
|
|
|
- HostBuffer.SetData(0, _context.PhysicalMemory.GetSpan(Address, Size));
|
|
|
- }
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// Disposes the host buffer.
|
|
|
/// </summary>
|