summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDumper.cpp
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2025-03-16 14:53:47 -0400
committerGitHub <noreply@github.com>2025-03-16 14:53:47 -0400
commit9e513d93e16876cc1d5bed285fa09a8993fdf796 (patch)
tree1b6f774e9b637300f6a312f0554a0bab5f747903 /Source/Core/VideoCommon/FrameDumper.cpp
parent07cec796f490a2d37fe8283e63f30c40c22e2159 (diff)
parent48b2f7d2001f99bcfb3fb92ef23e1358dc346826 (diff)
Merge pull request #13414 from jordan-woyak/vconfig-framedump
VideoConfig: Eliminate frame dumping members.
Diffstat (limited to 'Source/Core/VideoCommon/FrameDumper.cpp')
-rw-r--r--Source/Core/VideoCommon/FrameDumper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FrameDumper.cpp b/Source/Core/VideoCommon/FrameDumper.cpp
index 30f6a40e10..c98141e8eb 100644
--- a/Source/Core/VideoCommon/FrameDumper.cpp
+++ b/Source/Core/VideoCommon/FrameDumper.cpp
@@ -16,7 +16,6 @@
#include "VideoCommon/AbstractTexture.h"
#include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/Present.h"
-#include "VideoCommon/VideoConfig.h"
// The video encoder needs the image to be a multiple of x samples.
static constexpr int VIDEO_ENCODER_LCM = 4;
@@ -201,7 +200,7 @@ void FrameDumper::FrameDumpThreadFunc()
{
Common::SetCurrentThreadName("FrameDumping");
- bool dump_to_ffmpeg = !g_ActiveConfig.bDumpFramesAsImages;
+ bool dump_to_ffmpeg = !Config::Get(Config::GFX_DUMP_FRAMES_AS_IMAGES);
bool frame_dump_started = false;
// If Dolphin was compiled without ffmpeg, we only support dumping to images.