mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 10:31:31 +02:00
Merge pull request #4578 from ligfx/fixloaddefaults
ControllerEmu: Fix LoadDefaults to use ciface argument
This commit is contained in:
commit
4a4d629f0e
@ -317,7 +317,7 @@ void ControllerEmu::LoadDefaults(const ControllerInterface& ciface)
|
|||||||
IniFile::Section sec;
|
IniFile::Section sec;
|
||||||
LoadConfig(&sec);
|
LoadConfig(&sec);
|
||||||
|
|
||||||
const std::string& default_device_string = g_controller_interface.GetDefaultDeviceString();
|
const std::string& default_device_string = ciface.GetDefaultDeviceString();
|
||||||
if (!default_device_string.empty())
|
if (!default_device_string.empty())
|
||||||
{
|
{
|
||||||
default_device.FromString(default_device_string);
|
default_device.FromString(default_device_string);
|
||||||
|
Loading…
Reference in New Issue
Block a user