mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 09:17:58 -05:00
Texture cache: Only force flush the dma downloads
This commit is contained in:
@ -1304,7 +1304,7 @@ bool AccelerateDMA::DmaBufferImageCopy(const Tegra::DMA::ImageCopy& copy_info,
|
||||
const Tegra::DMA::BufferOperand& buffer_operand,
|
||||
const Tegra::DMA::ImageOperand& image_operand) {
|
||||
std::scoped_lock lock{buffer_cache.mutex, texture_cache.mutex};
|
||||
const auto image_id = texture_cache.DmaImageId(image_operand);
|
||||
const auto image_id = texture_cache.DmaImageId(image_operand, IS_IMAGE_UPLOAD);
|
||||
if (image_id == VideoCommon::NULL_IMAGE_ID) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user