mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-30 04:21:16 +00:00
Merge pull request #9120 from JosJuice/controller-defaults
Fix controller defaults being empty on fresh run
This commit is contained in:
commit
ebdcddfcd0
@ -93,7 +93,8 @@ bool InputConfig::LoadConfig(bool isGC)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inifile.Load(File::GetUserPath(D_CONFIG_IDX) + m_ini_name + ".ini"))
|
if (inifile.Load(File::GetUserPath(D_CONFIG_IDX) + m_ini_name + ".ini") &&
|
||||||
|
!inifile.GetSections().empty())
|
||||||
{
|
{
|
||||||
int n = 0;
|
int n = 0;
|
||||||
for (auto& controller : m_controllers)
|
for (auto& controller : m_controllers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user