From 48b2f7d2001f99bcfb3fb92ef23e1358dc346826 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 11 Mar 2025 02:45:48 -0500 Subject: VideoConfig: Eliminate frame dumping members. --- Source/Core/VideoCommon/FrameDumper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/FrameDumper.cpp') 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. -- cgit v1.2.3