From 13e4515118ed282652e37fadb587d2e380ad8eb4 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 10 Jul 2025 19:30:34 +1000 Subject: [PATCH] GPU: Send read command in SW if stats are enabled Won't do anything, but it does update the counter. --- src/core/gpu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/gpu.cpp b/src/core/gpu.cpp index 1ff185ea3..cb10b37bd 100644 --- a/src/core/gpu.cpp +++ b/src/core/gpu.cpp @@ -1911,7 +1911,9 @@ void GPU::CalculateDrawRect(u32 window_width, u32 window_height, u32 crtc_displa void GPU::ReadVRAM(u16 x, u16 y, u16 width, u16 height) { // If we're using the software renderer, we only need to sync the thread. - if (!GPUBackend::IsUsingHardwareBackend() || g_settings.gpu_use_software_renderer_for_readbacks) + // If stats are enabled, still send the packet to update the read counter. + if ((!GPUBackend::IsUsingHardwareBackend() || g_settings.gpu_use_software_renderer_for_readbacks) && + !g_settings.display_show_gpu_stats) { GPUBackend::SyncGPUThread(true); return;