Handle indirect draw counts with non-zero draw starts properly (#2593)

This commit is contained in:
gdkchan 2021-08-29 16:52:38 -03:00 committed by GitHub
parent 15e7fe3ac9
commit 82cefc8dd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 14 deletions

View file

@ -8,6 +8,14 @@ namespace Ryujinx.Cpu
{
public interface IVirtualMemoryManagerTracked : IVirtualMemoryManager
{
/// <summary>
/// Reads data from CPU mapped memory, with read tracking
/// </summary>
/// <typeparam name="T">Type of the data being read</typeparam>
/// <param name="va">Virtual address of the data in memory</param>
/// <returns>The data</returns>
T ReadTracked<T>(ulong va) where T : unmanaged;
/// <summary>
/// Writes data to CPU mapped memory, without write tracking.
/// </summary>