From 0b8b9e75d118aee91115c5ebc1f1c43e2f740383 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 3 Feb 2023 21:47:20 +1000 Subject: [PATCH] GS: Don't do CLUT auto flush test on invalid PRIM Fixes OOB array access in Xenosaga I's cutscenes. --- pcsx2/GS/GSState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index bfbd5c153e..c64d88db60 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -3455,7 +3455,7 @@ __forceinline void GSState::VertexKick(u32 skip) break; case GS_INVALID: m_vertex.tail = head; - break; + return; default: __assume(0); }