VideoConfig: Eliminate frame dumping members.

This commit is contained in:
Jordan Woyak
2025-03-11 02:45:48 -05:00
parent f4c37aeb14
commit 48b2f7d200
5 changed files with 15 additions and 35 deletions

View File

@ -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.