summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDumper.cpp
diff options
context:
space:
mode:
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.