Update CountLeadingZeros().
This commit is contained in:
parent
a2a4650108
commit
a529a2b6a6
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ namespace Ryujinx.Common
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
nibbleIdx -= 4;
|
nibbleIdx -= 4;
|
||||||
preCount = ClzNibbleTbl[(value >> nibbleIdx) & 0b1111];
|
preCount = ClzNibbleTbl[(int)(value >> nibbleIdx) & 0b1111];
|
||||||
count += preCount;
|
count += preCount;
|
||||||
}
|
}
|
||||||
while (preCount == 4);
|
while (preCount == 4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue