summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDump.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-12-30 15:47:40 -0500
committerGitHub <noreply@github.com>2021-12-30 15:47:40 -0500
commit533116093e7bd22d3d59ef193d79ae34bfb7e99a (patch)
tree8be67da93a2635e3c0435e2a58e0ba9a2d223806 /Source/Core/VideoCommon/FrameDump.cpp
parent1112b2a19e3421cb90364769754570c44f81d1ab (diff)
parentaa437d9805b2f1c810d117788be3aaac1259f788 (diff)
Merge pull request #10323 from AdmiralCurtiss/config-port-movie
Config: Port Movie settings to new config system.
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
-rw-r--r--Source/Core/VideoCommon/FrameDump.cpp3
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);