mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 13:55:28 +00:00
Merge pull request #4127 from lioncash/dst-typo
texture_cache: Fix incorrect address used in a DeduceSurface() call
This commit is contained in:
commit
15aeae3dd3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue