misc: chore: Remove redundant code

This commit is contained in:
KeatonTheBot committed 2025-03-11 16:45:41 -05:00
1 parent 340ec79e9f
commit 05a88ccc94
109 files changed
+271 -412

No files matched your search

@@ -9,20 +9,11 @@ namespace Ryujinx.Horizon.Sdk.Ngc.Detail
private const int CompressedEntriesPerBlock = 64;
private const int BitsPerWord = Set.BitsPerWord;
private readonly struct BitfieldRange
private readonly struct BitfieldRange(uint range, int baseValue)
{
private readonly uint _range;
private readonly int _baseValue;
public int BitfieldIndex => (int)(_range & 0x7ffffff);
public int BitfieldLength => (int)(_range >> 27) + 1;
public int BaseValue => _baseValue;
public BitfieldRange(uint range, int baseValue)
{
_range = range;
_baseValue = baseValue;
}
public int BitfieldIndex => (int)(range & 0x7ffffff);
public int BitfieldLength => (int)(range >> 27) + 1;
public int BaseValue => baseValue;
}
private uint[] _bitfieldRanges;