misc: chore: Use explicit types in HLE project

This commit is contained in:
Evan Husted
2025-01-25 14:13:18 -06:00
parent 58c1ab7989
commit 5eba42fa06
80 changed files with 410 additions and 397 deletions

View File

@@ -46,7 +46,7 @@ namespace Ryujinx.HLE.Loaders.Mods
return;
}
foreach (var (patchOffset, patch) in patches._patches)
foreach ((uint patchOffset, byte[] patch) in patches._patches)
{
_patches[patchOffset] = patch;
}
@@ -66,7 +66,7 @@ namespace Ryujinx.HLE.Loaders.Mods
public int Patch(Span<byte> memory, int protectedOffset = 0)
{
int count = 0;
foreach (var (offset, patch) in _patches.OrderBy(item => item.Key))
foreach ((uint offset, byte[] patch) in _patches.OrderBy(item => item.Key))
{
int patchOffset = (int)offset;
int patchSize = patch.Length;