1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00

Fix BinarySearchLt to return less than rather than less than or equal value (#372)

This commit is contained in:
gdkchan 2018-08-23 01:54:59 -03:00 committed by GitHub
parent 1cd7aaf504
commit 9977acad0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
} }
} }