mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Config: Remove recursive layer
This commit is contained in:
parent
f612569718
commit
c8f970e2b0
13 changed files with 30 additions and 139 deletions
|
@ -17,11 +17,6 @@ static std::list<ConfigChangedCallback> s_callbacks;
|
|||
|
||||
void InvokeConfigChangedCallbacks();
|
||||
|
||||
Section* GetOrCreateSection(System system, const std::string& section_name)
|
||||
{
|
||||
return s_layers[LayerType::Meta]->GetOrCreateSection(system, section_name);
|
||||
}
|
||||
|
||||
Layers* GetLayers()
|
||||
{
|
||||
return &s_layers;
|
||||
|
@ -83,8 +78,6 @@ void Init()
|
|||
{
|
||||
// These layers contain temporary values
|
||||
ClearCurrentRunLayer();
|
||||
// This layer always has to exist
|
||||
s_layers[LayerType::Meta] = std::make_unique<RecursiveLayer>();
|
||||
}
|
||||
|
||||
void Shutdown()
|
||||
|
@ -129,7 +122,6 @@ const std::string& GetLayerName(LayerType layer)
|
|||
{LayerType::Movie, "Movie"},
|
||||
{LayerType::CommandLine, "Command Line"},
|
||||
{LayerType::CurrentRun, "Current Run"},
|
||||
{LayerType::Meta, "Top"},
|
||||
};
|
||||
return layer_to_name.at(layer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue