Reset in-memory JIT cache on game quit + fix Purge PPTC (#709)

Jit cache now fully resets when booting a game multiple times.
This should fix random jit cache crashes.
Also removed some redundant code related to region allocation and fixed
PPTC Purge not fully purging all PPTC files in the backup folder.
This commit is contained in:
LotP1 2025-02-25 22:34:21 +01:00 committed by GitHub
parent 3ffcc72117
commit a3596ba858
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 56 additions and 29 deletions

View file

@ -200,7 +200,7 @@ namespace Ryujinx.Ava.UI.Controls
if (backupDir.Exists)
{
cacheFiles.AddRange(backupDir.EnumerateFiles("*.cache"));
cacheFiles.AddRange(mainDir.EnumerateFiles("*.info"));
cacheFiles.AddRange(backupDir.EnumerateFiles("*.info"));
}
if (cacheFiles.Count > 0)