Update AutoDeleteCache.cs (#6471)

Increase the texture cache limit from 512 MB to 1 GB.
This commit is contained in:
Keaton 2024-03-13 15:39:39 -05:00 committed by GitHub
parent d9a18919b0
commit e2a655f1a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;