summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDumper.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-03-11 02:45:48 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-16 04:30:06 -0500
commit48b2f7d2001f99bcfb3fb92ef23e1358dc346826 (patch)
tree30c31a26ea7c43f391135300bf1dd91dd8d68b2b /Source/Core/VideoCommon/FrameDumper.cpp
parentf4c37aeb148c93511b406be9ddeb88324b029ccd (diff)
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.