mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-09 15:46:27 +02:00
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:
parent
3ffcc72117
commit
a3596ba858
3 changed files with 56 additions and 29 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue