mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Move bDumpFrames to SConfig (and it's references)
This commit is contained in:
parent
26fc3c168a
commit
8d424b114a
11 changed files with 20 additions and 18 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "Common/StringUtil.h"
|
||||
#include "Common/Timer.h"
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/FifoPlayer/FifoRecorder.h"
|
||||
|
@ -97,7 +98,7 @@ Renderer::~Renderer()
|
|||
efb_scale_numeratorX = efb_scale_numeratorY = efb_scale_denominatorX = efb_scale_denominatorY = 1;
|
||||
|
||||
#if defined _WIN32 || defined HAVE_LIBAV
|
||||
if (g_ActiveConfig.bDumpFrames && bLastFrameDumped && bAVIDumping)
|
||||
if (SConfig::GetInstance().m_DumpFrames && bLastFrameDumped && bAVIDumping)
|
||||
AVIDump::Stop();
|
||||
#else
|
||||
if (pFrameDump.IsOpen())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue