From f1574d7060835d87e4d155f2f7c4031c0cdd5d57 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 1 Oct 2026 15:28:46 +0300 Subject: [PATCH] rsx/nv3089: Clamp input height to 1 row - Prevent underflow when calculating addresses. which can discard valid blit requests --- rpcs3/Emu/RSX/NV47/HW/nv3089.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/NV47/HW/nv3089.cpp b/rpcs3/Emu/RSX/NV47/HW/nv3089.cpp index 2a9680d332..b9baa059c3 100644 --- a/rpcs3/Emu/RSX/NV47/HW/nv3089.cpp +++ b/rpcs3/Emu/RSX/NV47/HW/nv3089.cpp @@ -227,7 +227,7 @@ namespace rsx } else { - const u16 read_h = std::min(static_cast(clip_h / scale_y), in_h); + const u16 read_h = std::max(std::min(static_cast(clip_h / scale_y), in_h), 1); const u32 data_length = in_pitch * (read_h - 1) + src_line_length; if (src_address = get_address(src_offset, src_dma, data_length); !src_address)