From b2f7e4b16be899bc0bf140bdf96906da314f5c1d Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 14 Aug 2023 18:20:47 +0100 Subject: [PATCH] GS: Don't invalidate CLUT on GS Read/Download --- pcsx2/GS/GSState.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index a4ffeea92a..5f0a76bf2e 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -1808,8 +1808,11 @@ void GSState::CheckWriteOverlap(bool req_write, bool req_read) } } - // Invalid the CLUT if it crosses paths. - m_mem.m_clut.InvalidateRange(write_start_bp, write_end_bp); + if (req_write) + { + // Invalid the CLUT if it crosses paths. + m_mem.m_clut.InvalidateRange(write_start_bp, write_end_bp); + } } void GSState::Write(const u8* mem, int len)