diff options
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/FrameDump.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/FrameDump.cpp b/Source/Core/VideoCommon/FrameDump.cpp index 08041a7177..9a8e3b4e1f 100644 --- a/Source/Core/VideoCommon/FrameDump.cpp +++ b/Source/Core/VideoCommon/FrameDump.cpp @@ -25,6 +25,7 @@ extern "C" { #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" +#include "Core/Config/MainSettings.h" #include "Core/ConfigManager.h" #include "Core/HW/SystemTimers.h" #include "Core/HW/VideoInterface.h" @@ -93,7 +94,7 @@ std::string GetDumpPath(const std::string& extension, std::time_t time, u32 inde // Ask to delete file. if (File::Exists(path)) { - if (SConfig::GetInstance().m_DumpFramesSilent || + if (Config::Get(Config::MAIN_MOVIE_DUMP_FRAMES_SILENT) || AskYesNoFmtT("Delete the existing file '{0}'?", path)) { File::Delete(path); |
