mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
ConfigLoaders: Temporarily not save all settings
This commit is contained in:
20
Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp
Normal file
20
Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp
Normal 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
|
Reference in New Issue
Block a user