From ab25285161502c68fd43ae62a2f94513a17f7d68 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Sat, 3 Jun 2023 03:58:51 +0200 Subject: [PATCH] early-access version 3631 --- README.md | 2 +- src/video_core/texture_cache/texture_cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f297fce1..9379bb3e5 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3630. +This is the source code for early-access 3631. ## Legal Notice diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 08d70c51f..4d06bf9c0 100755 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -88,12 +88,12 @@ void TextureCache

::RunGarbageCollector() { if (!aggressive_mode && True(image.flags & ImageFlagBits::CostlyLoad)) { return false; } + --num_iterations; const bool must_download = image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap); if (!high_priority_mode && must_download) { return false; } - --num_iterations; if (must_download) { auto map = runtime.DownloadStagingBuffer(image.unswizzled_size_bytes); const auto copies = FullDownloadCopies(image.info);