From b80e69645ea42e56ca4999befe41f6d1c6dd382a Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Fri, 24 Nov 2023 08:19:44 +0100 Subject: [PATCH] early-access version 3989 --- README.md | 2 +- src/video_core/query_cache/query_cache.h | 2 +- src/video_core/texture_cache/texture_cache.h | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 875343d8d..6fe45e5d4 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3988. +This is the source code for early-access 3989. ## Legal Notice diff --git a/src/video_core/query_cache/query_cache.h b/src/video_core/query_cache/query_cache.h index 78b42b518..efa9adf7a 100755 --- a/src/video_core/query_cache/query_cache.h +++ b/src/video_core/query_cache/query_cache.h @@ -266,7 +266,7 @@ void QueryCacheBase::CounterReport(GPUVAddr addr, QueryType counter_type return; } if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] { - UNREACHABLE(); + ASSERT(false); return; } query_base->value += streamer->GetAmmendValue(); diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 2bc9ae51c..3008a89db 100755 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1574,6 +1574,9 @@ std::optional::BlitImages> TextureCache

::GetBlitImag if (!src_id && !dst_id) { return std::nullopt; } + if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { + break; + } if (dst_id && True(slot_images[dst_id].flags & ImageFlagBits::GpuModified)) { break; }