andburn / dds-reader

.NET core DDS reader and converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is a dead loop in Helper.ComputeMaskParams method

AyukawaMadoka opened this issue · comments

as the title told,when the (uint mask) equal to "0",the loop
while((mask & 1) == 0)
{
mask=mask >> 1;
shift1++;
}
will not stop.

Good spot, thanks. I think I've fixed it correctly now.