From 7165772e9bab0f8b4e52e4165dccdd0c68492787 Mon Sep 17 00:00:00 2001 From: Stephen Miller <56742918+StevenMiller123@users.noreply.github.com> Date: Sat, 23 Aug 2025 06:18:40 -0500 Subject: [PATCH] Only queue image downloads if the image address is greater than zero. (#3446) If the image address is zero, that means we're trying to download a null image, which causes other issues down the line. --- src/video_core/texture_cache/texture_cache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/texture_cache/texture_cache.cpp b/src/video_core/texture_cache/texture_cache.cpp index 9f7894f1e..2da037a6e 100644 --- a/src/video_core/texture_cache/texture_cache.cpp +++ b/src/video_core/texture_cache/texture_cache.cpp @@ -538,7 +538,8 @@ ImageView& TextureCache::FindTexture(ImageId image_id, const BaseDesc& desc) { Image& image = slot_images[image_id]; if (desc.type == BindingType::Storage) { image.flags |= ImageFlagBits::GpuModified; - if (Config::readbackLinearImages() && !image.info.props.is_tiled) { + if (Config::readbackLinearImages() && !image.info.props.is_tiled && + image.info.guest_address != 0) { download_images.emplace(image_id); } }