From 2d36a232520939c74e7dae0b12f43f365302eb54 Mon Sep 17 00:00:00 2001 From: KeatonTheBot Date: Fri, 11 Oct 2024 19:07:55 -0500 Subject: [PATCH] Increase texture cache limit to 6 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 ad6c1fecb..79bed3241 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs @@ -48,7 +48,7 @@ namespace Ryujinx.Graphics.Gpu.Image private const int MinCountForDeletion = 32; private const int MaxCapacity = 2048; private const ulong MinTextureSizeCapacity = 512 * 1024 * 1024; - private const ulong MaxTextureSizeCapacity = 4UL * 1024 * 1024 * 1024; + private const ulong MaxTextureSizeCapacity = 6UL * 1024 * 1024 * 1024; private const ulong DefaultTextureSizeCapacity = 1UL * 1024 * 1024 * 1024; private const float MemoryScaleFactor = 0.50f; private ulong _maxCacheMemoryUsage = 0;