diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/DmaPusher.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/DmaPusher.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/DmaPusher.cs b/Ryujinx.Graphics.Gpu/DmaPusher.cs index 6d53e42c..3b5ac830 100644 --- a/Ryujinx.Graphics.Gpu/DmaPusher.cs +++ b/Ryujinx.Graphics.Gpu/DmaPusher.cs @@ -47,7 +47,7 @@ namespace Ryujinx.Graphics.Gpu { if (Words == null) { - Words = MemoryMarshal.Cast<byte, int>(context.MemoryAccessor.GetSpan(EntryAddress, EntryCount * 4)).ToArray(); + Words = MemoryMarshal.Cast<byte, int>(context.MemoryAccessor.GetSpan(EntryAddress, (int)EntryCount * 4)).ToArray(); } } |
