diff options
| author | Léo Lam <leo@leolam.fr> | 2021-10-16 11:32:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 11:32:38 +0200 |
| commit | 8195d0bda1acfb751bfd0ba4d4c34eec9fce4b81 (patch) | |
| tree | af6e7ef72030841b01d6723ba83c5d52887a2e64 /Source/Core/AudioCommon/WaveFile.cpp | |
| parent | 9a6f0bd9b2df9347dbdd4072217516fcf1a52297 (diff) | |
| parent | 8ea6bef98f535301d23aa1c81d4080c208527705 (diff) | |
Merge pull request #10144 from malleoz/dsp-onion
Port Main.DSP to MainSettings
Diffstat (limited to 'Source/Core/AudioCommon/WaveFile.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/WaveFile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/WaveFile.cpp b/Source/Core/AudioCommon/WaveFile.cpp index ac378cb748..a7dd489db3 100644 --- a/Source/Core/AudioCommon/WaveFile.cpp +++ b/Source/Core/AudioCommon/WaveFile.cpp @@ -12,6 +12,7 @@ #include "Common/MsgHandler.h" #include "Common/StringUtil.h" #include "Common/Swap.h" +#include "Core/Config/MainSettings.h" #include "Core/ConfigManager.h" constexpr size_t WaveFileWriter::BUFFER_SIZE; @@ -30,7 +31,7 @@ bool WaveFileWriter::Start(const std::string& filename, unsigned int HLESampleRa // Ask to delete file if (File::Exists(filename)) { - if (SConfig::GetInstance().m_DumpAudioSilent || + if (Config::Get(Config::MAIN_DUMP_AUDIO_SILENT) || AskYesNoFmtT("Delete the existing file '{0}'?", filename)) { File::Delete(filename); |
