mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Use explicit types & fix object creation
This commit is contained in:
1 parent
9d3fecf334
commit
76a123b81d
454 files changed
+3042
-2961
No files matched your search
@@ -67,7 +67,7 @@ namespace Ryujinx.Graphics.Texture.Encoders
|
||||
int w = Math.Min(4, width - x);
|
||||
int h = Math.Min(4, height - y);
|
||||
|
||||
var dataUint = MemoryMarshal.Cast<byte, uint>(data);
|
||||
ReadOnlySpan<uint> dataUint = MemoryMarshal.Cast<byte, uint>(data);
|
||||
|
||||
int baseOffset = y * width + x;
|
||||
|
||||
|
||||
Reference in new issue
Block a user