From aa437d9805b2f1c810d117788be3aaac1259f788 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Mon, 27 Dec 2021 19:39:35 +0100 Subject: Config: Port Movie settings to new config system. --- Source/Core/VideoCommon/FrameDump.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/FrameDump.cpp') 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); -- cgit v1.2.3