diff --git a/ChocolArm64/ATranslatorCache.cs b/ChocolArm64/ATranslatorCache.cs index 2d6af90b..199b44f8 100644 --- a/ChocolArm64/ATranslatorCache.cs +++ b/ChocolArm64/ATranslatorCache.cs @@ -138,7 +138,7 @@ namespace ChocolArm64 CacheBucket Bucket = Cache[Node.Value]; - long TimeDelta = Bucket.Timestamp - Timestamp; + long TimeDelta = Timestamp - Bucket.Timestamp; if (TimeDelta <= MinTimeDelta) { diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLCachedResource.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLCachedResource.cs index a65ebcbb..efacb4d4 100644 --- a/Ryujinx.Graphics/Gal/OpenGL/OGLCachedResource.cs +++ b/Ryujinx.Graphics/Gal/OpenGL/OGLCachedResource.cs @@ -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) {