texture_cache: Fix incorrect address used in a DeduceSurface() call

Previously the source was being deduced twice in a row.
master
Lioncash 2020-06-19 23:13:48 +07:00
parent 0f7822acb1
commit ef53b2fd08
1 changed files with 1 additions and 1 deletions

@ -1053,7 +1053,7 @@ private:
void DeduceBestBlit(SurfaceParams& src_params, SurfaceParams& dst_params, void DeduceBestBlit(SurfaceParams& src_params, SurfaceParams& dst_params,
const GPUVAddr src_gpu_addr, const GPUVAddr dst_gpu_addr) { const GPUVAddr src_gpu_addr, const GPUVAddr dst_gpu_addr) {
auto deduced_src = DeduceSurface(src_gpu_addr, src_params); 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()) { if (deduced_src.Failed() || deduced_dst.Failed()) {
return; return;
} }