From d05e4b972747b22469b4fe8e2ac5b5ca78964dcf Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Wed, 28 May 2025 23:20:22 +0100 Subject: [PATCH] GS/HW: Adjust SpriteNoGaps check for vertical strips --- pcsx2/GS/GSState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index 58205fe24e..fdf1053018 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -3140,7 +3140,8 @@ bool GSState::SpriteDrawWithoutGaps() } else { - if ((std::abs(dpX - first_dpX) >= 16 && (i + 2) < m_vertex.next) || std::abs(this_start_X - last_pX) >= 16) + const int dpY = v[i + 1].XYZ.Y - v[i].XYZ.Y; + if ((std::abs(dpY - first_dpY) >= 16 && (i + 2) < m_vertex.next) || std::abs(this_start_X - last_pX) >= 16) return false; } }