mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Config/Layer: Fix accidental cast of RecursiveSection to Section
This commit is contained in:
@ -391,10 +391,10 @@ void INIGameConfigLayerLoader::Save(Config::Layer* config_layer)
|
||||
{
|
||||
for (const auto& section : system.second)
|
||||
{
|
||||
for (const auto& value : section.GetValues())
|
||||
for (const auto& value : section->GetValues())
|
||||
{
|
||||
const auto ini_location =
|
||||
GetINILocationFromConfig({system.first, section.GetName(), value.first});
|
||||
GetINILocationFromConfig({system.first, section->GetName(), value.first});
|
||||
if (ini_location.first.empty() && ini_location.second.empty())
|
||||
continue;
|
||||
|
||||
|
Reference in New Issue
Block a user