GPU/TextureCache: Fix split writes not dumping

This commit is contained in:
Stenzek 2024-12-02 20:12:40 +10:00
parent 22edf23269
commit 3959c83bd4
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1958,7 +1958,7 @@ void GPUTextureCache::RemoveVRAMWrite(VRAMWrite* entry)
LoopRectPagesWithEarlyExit(entry->write_rect, [&entry, &other_write](u32 pn) {
PageEntry& pg = s_state.pages[pn];
ListIterateWithEarlyExit(pg.writes, [&entry, &other_write](VRAMWrite* cur) {
if (cur->hash != entry->hash)
if (cur == entry || cur->hash != entry->hash)
return true;
other_write = cur;