GS: Don't invalidate CLUT on GS Read/Download

This commit is contained in:
refractionpcsx2 committed 2023-08-24 15:41:58 +01:00
1 parent 2f01299472
commit b2f7e4b16b
1 file changed
+5 -2
+5 -2
View File
@@ -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)