ConfigLoaders: Temporarily not save all settings

This commit is contained in:
MerryMage
2017-05-13 15:59:20 +01:00
parent b3197d8dce
commit 57264022ce
7 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,20 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <algorithm>
#include <vector>
#include "Core/Config/Config.h"
#include "Core/ConfigLoaders/IsSettingSaveable.h"
namespace ConfigLoaders
{
const static std::vector<Config::ConfigLocation> s_setting_saveable{};
bool IsSettingSaveable(const Config::ConfigLocation& config_location)
{
return std::find(s_setting_saveable.begin(), s_setting_saveable.end(), config_location) !=
s_setting_saveable.end();
}
} // namespace ConfigLoader