summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-10-27 05:25:25 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-11-11 20:01:52 -0600
commitd4f68cb1647ca87e5364431f09ab38b3178ed3cd (patch)
tree3be614c881fa2646f9742d7a4f8600560798284b /Source
parent16260040e0d585f529abcde3820e2a203d1710eb (diff)
HW/VideoInterface: Selectively throttle on "VBlank" based on "Immediate XFB" being enabled.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/VideoInterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/HW/VideoInterface.cpp b/Source/Core/Core/HW/VideoInterface.cpp
index c0f46bed35..f97852df7a 100644
--- a/Source/Core/Core/HW/VideoInterface.cpp
+++ b/Source/Core/Core/HW/VideoInterface.cpp
@@ -886,10 +886,10 @@ void VideoInterfaceManager::EndField(FieldType field, u64 ticks)
// Note: OutputField above doesn't present when using GPU-on-Thread or Early/Immediate XFB,
// giving "VBlank" measurements here poor pacing without a Throttle call.
- // If the user actually wants the data, we'll Throttle to make the numbers nice.
- const bool is_vblank_data_wanted = g_ActiveConfig.bShowVPS || g_ActiveConfig.bShowVTimes ||
- g_ActiveConfig.bLogRenderTimeToFile ||
- g_ActiveConfig.bShowGraphs;
+ // We'll throttle so long as Immediate XFB isn't enabled.
+ // That setting intends to minimize input latency and throttling would be counterproductive.
+ // The Rush Frame Presentation setting is handled by Throttle itself.
+ const bool is_vblank_data_wanted = !g_ActiveConfig.bImmediateXFB;
if (is_vblank_data_wanted)
m_system.GetCoreTiming().Throttle(ticks);