summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-23 21:59:37 +0200
committerGitHub <noreply@github.com>2020-06-23 21:59:37 +0200
commit15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132 (patch)
tree381cbf7c6460906798f34c2c93ede9f7d81a5708 /src
parentMerge pull request #3948 from Morph1984/log-cpu-instructions (diff)
parenttexture_cache: Fix incorrect address used in a DeduceSurface() call (diff)
downloadyuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar.gz
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar.bz2
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar.lz
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar.xz
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.tar.zst
yuzu-15aeae3dd3b36e6a149a93cfafb6e1c21c2fb132.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index b543fc8c0..85075e868 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -1053,7 +1053,7 @@ private:
void DeduceBestBlit(SurfaceParams& src_params, SurfaceParams& dst_params,
const GPUVAddr src_gpu_addr, const GPUVAddr dst_gpu_addr) {
auto deduced_src = DeduceSurface(src_gpu_addr, src_params);
- auto deduced_dst = DeduceSurface(src_gpu_addr, src_params);
+ auto deduced_dst = DeduceSurface(dst_gpu_addr, dst_params);
if (deduced_src.Failed() || deduced_dst.Failed()) {
return;
}