Fix BinarySearchLt to return less than rather than less than or equal value (#372)
This commit is contained in:
parent
1cd7aaf504
commit
9977acad0f
@ -187,9 +187,12 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvGpuAS
|
|||||||
{
|
{
|
||||||
Left = Middle + 1;
|
Left = Middle + 1;
|
||||||
|
|
||||||
|
if ((ulong)Position > Rg.Start)
|
||||||
|
{
|
||||||
LtRg = Rg;
|
LtRg = Rg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return LtRg;
|
return LtRg;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user