Fix BinarySearchLt to return less than rather than less than or equal value (#372)
This commit is contained in:
parent
1cd7aaf504
commit
9977acad0f
1 changed files with 4 additions and 1 deletions
|
@ -187,7 +187,10 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvGpuAS
|
||||||
{
|
{
|
||||||
Left = Middle + 1;
|
Left = Middle + 1;
|
||||||
|
|
||||||
LtRg = Rg;
|
if ((ulong)Position > Rg.Start)
|
||||||
|
{
|
||||||
|
LtRg = Rg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue