aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeaton <onikeaton@gmail.com>2024-03-13 15:39:39 -0500
committerGitHub <noreply@github.com>2024-03-13 17:39:39 -0300
commite2a655f1a46252b67ded0c3280909fa81bbfe542 (patch)
tree353139fa565d978c5915336de9492b8c2f3b8e12
parentd9a18919b051a3cfa4b3c9f5f2a2fb0e8eecfcd5 (diff)
Update AutoDeleteCache.cs (#6471)1.1.1226
Increase the texture cache limit from 512 MB to 1 GB.
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs b/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
index 05782605..732ec5d4 100644
--- a/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
+++ b/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
@@ -46,7 +46,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
private const int MinCountForDeletion = 32;
private const int MaxCapacity = 2048;
- private const ulong MaxTextureSizeCapacity = 512 * 1024 * 1024; // MB;
+ private const ulong MaxTextureSizeCapacity = 1024 * 1024 * 1024; // MB;
private readonly LinkedList<Texture> _textures;
private ulong _totalSize;