Textures : Increase the amount of VRAM Cache available for Textures based on selected DRAM. (#36)

This commit is contained in:
MaxLastBreath
2024-11-01 20:36:35 -05:00
committed by KeatonTheBot
parent b94ee1137f
commit 0ff6e3b7b1
5 changed files with 45 additions and 15 deletions
@@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostAsGpu
public NvHostAsGpuDeviceFile(ServiceCtx context, IVirtualMemoryManager memory, ulong owner) : base(context, owner)
{
_asContext = new AddressSpaceContext(context.Device.Gpu.CreateMemoryManager(owner));
_asContext = new AddressSpaceContext(context.Device.Gpu.CreateMemoryManager(owner, context.Device.Memory.Size));
_memoryAllocator = new NvMemoryAllocator();
}