1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-23 13:32:02 +00:00

Fix regression caused by wrong time delta calculation on cache deletion methods

This commit is contained in:
gdkchan 2018-10-30 11:42:27 -03:00
parent 5b13ee655c
commit 5a87e58183
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ namespace ChocolArm64
CacheBucket Bucket = Cache[Node.Value];
long TimeDelta = Bucket.Timestamp - Timestamp;
long TimeDelta = Timestamp - Bucket.Timestamp;
if (TimeDelta <= MinTimeDelta)
{

View file

@ -157,7 +157,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
CacheBucket Bucket = Cache[Node.Value];
long TimeDelta = Bucket.Timestamp - Timestamp;
long TimeDelta = Timestamp - Bucket.Timestamp;
if ((uint)TimeDelta <= (uint)MaxTimeDelta)
{