From f32ff351da5962588c1b4a26c3ec8ade5fd4010e Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 9 Jun 2026 21:23:27 +0300 Subject: [PATCH] rsx: Use mip0 resolution scale when computing mipmap scaling factors --- rpcs3/Emu/RSX/Common/texture_cache_helpers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache_helpers.h b/rpcs3/Emu/RSX/Common/texture_cache_helpers.h index 8898830034..510dc3f136 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache_helpers.h +++ b/rpcs3/Emu/RSX/Common/texture_cache_helpers.h @@ -968,9 +968,10 @@ namespace rsx // Check for upscaling if requested if (apply_upscaling) { + const auto base_mip = as_surface_type(sections.front()); auto& mip = sections.back(); std::tie(mip.dst_w, mip.dst_h) = rsx::apply_resolution_scale( - as_surface_type(mip)->resolution_scaling_config, + base_mip->resolution_scaling_config, mip.dst_w, mip.dst_h, level0_attr.width, level0_attr.height); }