forked from Mirror/Ryujinx
Fix regression caused by wrong time delta calculation on cache deletion methods
This commit is contained in:
parent
5b13ee655c
commit
5a87e58183
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ namespace ChocolArm64
|
||||||
|
|
||||||
CacheBucket Bucket = Cache[Node.Value];
|
CacheBucket Bucket = Cache[Node.Value];
|
||||||
|
|
||||||
long TimeDelta = Bucket.Timestamp - Timestamp;
|
long TimeDelta = Timestamp - Bucket.Timestamp;
|
||||||
|
|
||||||
if (TimeDelta <= MinTimeDelta)
|
if (TimeDelta <= MinTimeDelta)
|
||||||
{
|
{
|
||||||
|
|
|
@ -157,7 +157,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||||
|
|
||||||
CacheBucket Bucket = Cache[Node.Value];
|
CacheBucket Bucket = Cache[Node.Value];
|
||||||
|
|
||||||
long TimeDelta = Bucket.Timestamp - Timestamp;
|
long TimeDelta = Timestamp - Bucket.Timestamp;
|
||||||
|
|
||||||
if ((uint)TimeDelta <= (uint)MaxTimeDelta)
|
if ((uint)TimeDelta <= (uint)MaxTimeDelta)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue