From 475191cf7f967db33e211adced25bd45aa619b26 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 27 Dec 2023 19:50:16 +0300 Subject: [PATCH] rsx: Fix typo --- rpcs3/Emu/RSX/rsx_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index 9f9b5709e6..fec1c505b5 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -1783,7 +1783,7 @@ namespace rsx else { const auto swz_temp = _swizzled_copy_1(dst, src, out_w, out_h, slice_h, in_format, out_format, need_convert, need_clip, src_is_temp, interpolate); - auto pixels_src = swz_temp.empty() ? dst.pixels : swz_temp.data(); + auto pixels_src = swz_temp.empty() ? src.pixels : swz_temp.data(); _swizzled_copy_2(const_cast(pixels_src), dst.pixels, src.pitch, out_w, out_h, dst.bpp); }