From e2a655f1a46252b67ded0c3280909fa81bbfe542 Mon Sep 17 00:00:00 2001
From: Keaton <onikeaton@gmail.com>
Date: Wed, 13 Mar 2024 15:39:39 -0500
Subject: [PATCH] Update AutoDeleteCache.cs (#6471)

Increase the texture cache limit from 512 MB to 1 GB.
---
 src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs b/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
index 05782605b..732ec5d4c 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;