Update AutoDeleteCache.cs

Increase the texture cache limit from 512 MB to 1 GB.
This commit is contained in:
Keaton 2024-03-12 11:32:09 -05:00 committed by GitHub
parent 8354434a37
commit 70b0b9e856
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;