mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
ControllerEmu: Fix LoadDefaults to use ciface argument
This commit is contained in:
parent
59db5cd43c
commit
905750553f
@ -317,7 +317,7 @@ void ControllerEmu::LoadDefaults(const ControllerInterface& ciface)
|
||||
IniFile::Section 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())
|
||||
{
|
||||
default_device.FromString(default_device_string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user