Reset in-memory JIT cache on game quit + fix Purge PPTC

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 authored and KeatonTheBot committed 2025-02-26 10:38:24 -06:00
1 parent 51f26f89a5
commit 62a54c63b8
3 files changed
+56 -29

No files matched your search

@@ -229,7 +229,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)