mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Common/Config: Add a utility class to suppress config change callbacks.
This commit is contained in:
@ -173,6 +173,8 @@ LogManager::~LogManager()
|
||||
|
||||
void LogManager::SaveSettings()
|
||||
{
|
||||
Config::ConfigChangeCallbackGuard config_guard;
|
||||
|
||||
Config::SetBaseOrCurrent(LOGGER_WRITE_TO_FILE, IsListenerEnabled(LogListener::FILE_LISTENER));
|
||||
Config::SetBaseOrCurrent(LOGGER_WRITE_TO_CONSOLE,
|
||||
IsListenerEnabled(LogListener::CONSOLE_LISTENER));
|
||||
|
Reference in New Issue
Block a user