mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 13:19:00 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user