misc: chore: Use explicit types in Horizon project

This commit is contained in:
Evan Husted
2025-01-25 14:14:13 -06:00
parent 5eba42fa06
commit 69e0b79bd9
23 changed files with 71 additions and 66 deletions

View File

@ -35,13 +35,13 @@ namespace Ryujinx.Horizon.Sdk.Ngc.Detail
{
get
{
var ranges = GetBitfieldRanges();
ReadOnlySpan<BitfieldRange> ranges = GetBitfieldRanges();
int rangeBlockIndex = index / CompressedEntriesPerBlock;
if (rangeBlockIndex < ranges.Length)
{
var range = ranges[rangeBlockIndex];
BitfieldRange range = ranges[rangeBlockIndex];
int bitfieldLength = range.BitfieldLength;
int bitfieldOffset = (index % CompressedEntriesPerBlock) * bitfieldLength;