mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-30 09:39:56 -06:00
misc: chore: Use explicit types in Horizon project
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user