Jelajahi Sumber

Update AutoDeleteCache.cs (#6471)

Increase the texture cache limit from 512 MB to 1 GB.
Keaton 2 tahun lalu
induk
melakukan
e2a655f1a4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

+ 1 - 1
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;