From 90d05fe37e6baf0d88a9eee8a63f0610dfba33ee Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 15 Nov 2022 15:34:03 -0800 Subject: [PATCH] VideoCommon/FramebufferManager: Always update frame access mask on depth peeks 0e02ddcf52ed86060ac1a0a85fa144738fa5163c removed separate logic for tiled versus non-tiled EFB peek caches, and as part of that made it so that color peeks updated the frame access mask even when a non-tiled cache is in use. However, the same change was not made for depth peeks. I'm not sure if this affected anything in practice. --- Source/Core/VideoCommon/FramebufferManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/FramebufferManager.cpp b/Source/Core/VideoCommon/FramebufferManager.cpp index a7b248f25d..490afab3a8 100644 --- a/Source/Core/VideoCommon/FramebufferManager.cpp +++ b/Source/Core/VideoCommon/FramebufferManager.cpp @@ -439,8 +439,7 @@ float FramebufferManager::PeekEFBDepth(u32 x, u32 y) if (!IsEFBCacheTilePresent(true, x, y, &tile_index)) PopulateEFBCache(true, tile_index); - if (IsUsingTiledEFBCache()) - m_efb_depth_cache.tiles[tile_index].frame_access_mask |= 1; + m_efb_depth_cache.tiles[tile_index].frame_access_mask |= 1; if (m_efb_depth_cache.needs_flush) {