Fix regression caused by wrong time delta calculation on cache deletion methods
This commit is contained in:
parent
5b13ee655c
commit
5a87e58183
@ -138,7 +138,7 @@ namespace ChocolArm64
|
||||
|
||||
CacheBucket Bucket = Cache[Node.Value];
|
||||
|
||||
long TimeDelta = Bucket.Timestamp - Timestamp;
|
||||
long TimeDelta = Timestamp - Bucket.Timestamp;
|
||||
|
||||
if (TimeDelta <= MinTimeDelta)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user