nyma - fix bug that stopped NGP from booting

Happened in a recent refactoring.  NGP hides the constantfb setting (Because it is always at a constant fb), and that needs to override the core provision, not cause an exception.
This commit is contained in:
nattthebear 2020-06-20 12:12:34 -04:00
parent be81bc12c2
commit e6858c702b
1 changed files with 4 additions and 1 deletions

View File

@ -285,7 +285,10 @@ namespace BizHawk.Emulation.Cores.Waterbox
});
}
s.AllOverrides = SettingOverrides.Concat(ExtraOverrides).ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
foreach (var kvp in ExtraOverrides.Concat(SettingOverrides))
{
s.AllOverrides[kvp.Key] = kvp.Value;
}
foreach (var setting in GetSettingsData().Concat(ExtraSettings))
{
s.AllSettingsByKey.Add(setting.SettingsKey, setting);