From 793a21a82518bda8ac168fdb9975bb6cb61f71f9 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 17 May 2023 18:47:49 +0300 Subject: [PATCH] rsx: Fix build after variable rename --- rpcs3/Emu/RSX/Common/texture_cache_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache_helpers.h b/rpcs3/Emu/RSX/Common/texture_cache_helpers.h index 8764551b9d..0686a84e53 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache_helpers.h +++ b/rpcs3/Emu/RSX/Common/texture_cache_helpers.h @@ -352,7 +352,7 @@ namespace rsx const size2u src_size = { dimensions.width / section_bpp, dimensions.height }; const u32 dst_slice_begin = slice * attr.slice_h; // Output slice low watermark - const u32 dst_slice_end = slice_begin + attr.height; // Output slice high watermark + const u32 dst_slice_end = dst_slice_begin + attr.height; // Output slice high watermark const auto dst_y = dst_offset.y; const auto dst_h = dst_size.height; @@ -400,7 +400,7 @@ namespace rsx static_cast(src_offset.x), // src.x static_cast(src_offset.y), // src.y static_cast(dst_offset.x), // dst.x - static_cast(dst_y - slice_begin), // dst.y + static_cast(dst_y - dst_slice_begin), // dst.y 0, src_w, height,