Partial revert, decouple TitleIDs.CurrentApplication from shader cache stuff; as I want that to ALWAYS reflect the current app.

This commit is contained in:
Evan Husted
2024-12-29 03:02:56 -06:00
parent 1fbb0d8e7d
commit 1dd69912b1
5 changed files with 17 additions and 5 deletions

View File

@ -7,6 +7,7 @@ using LibHac.Tools.FsSystem;
using Ryujinx.Common;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.Gpu;
using Ryujinx.HLE.Loaders.Executables;
using Ryujinx.Memory;
using System;
@ -103,7 +104,8 @@ namespace Ryujinx.HLE.Loaders.Processes.Extensions
}
// Initialize GPU.
TitleIDs.CurrentApplication = programId.ToString("X16");
GraphicsConfig.TitleId = programId.ToString("X16");
TitleIDs.CurrentApplication = GraphicsConfig.TitleId;
device.Gpu.HostInitalized.Set();
if (!MemoryBlock.SupportsFlags(MemoryAllocationFlags.ViewCompatible))