Handle indirect draw counts with non-zero draw starts properly (#2593)
This commit is contained in:
parent
15e7fe3ac9
commit
82cefc8dd3
5 changed files with 81 additions and 14 deletions
|
@ -117,7 +117,7 @@ namespace Ryujinx.Cpu
|
|||
/// <inheritdoc/>
|
||||
public T Read<T>(ulong va) where T : unmanaged
|
||||
{
|
||||
return MemoryMarshal.Cast<byte, T>(GetSpan(va, Unsafe.SizeOf<T>(), true))[0];
|
||||
return MemoryMarshal.Cast<byte, T>(GetSpan(va, Unsafe.SizeOf<T>()))[0];
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue