mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-14 06:40:23 +02:00
EmulatedController: encapsulate default device behind getters/setters
This commit is contained in:
1 parent
bb0794715c
commit
1b1dd1d749
8 files changed
+52
-40
No files matched your search
@@ -78,7 +78,7 @@ void ControlGroup::LoadConfig(IniFile::Section* sec, const std::string& defdev,
|
||||
|
||||
for (auto& ai : ext->attachments)
|
||||
{
|
||||
ai->default_device.FromString(defdev);
|
||||
ai->SetDefaultDevice(defdev);
|
||||
ai->LoadConfig(sec, base + ai->GetName() + "/");
|
||||
|
||||
if (ai->GetName() == extname)
|
||||
|
||||
Reference in new issue
Block a user