mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Remove redundant code
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user