From 3959c83bd4e7c0db9680782efc6b76a7722f2879 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 2 Dec 2024 20:12:40 +1000 Subject: [PATCH] GPU/TextureCache: Fix split writes not dumping --- src/core/gpu_hw_texture_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_hw_texture_cache.cpp b/src/core/gpu_hw_texture_cache.cpp index 347246152..44de7df8e 100644 --- a/src/core/gpu_hw_texture_cache.cpp +++ b/src/core/gpu_hw_texture_cache.cpp @@ -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;