mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Config: Port Movie settings to new config system.
This commit is contained in:
parent
1112b2a19e
commit
aa437d9805
9 changed files with 49 additions and 62 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue