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

This commit is contained in:
refractionpcsx2 2023-08-14 18:20:47 +01:00
parent 2f01299472
commit b2f7e4b16b
1 changed files with 5 additions and 2 deletions

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)