From e4caace6bb6213851b979cdd76f9f44ef6d9cd09 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 13 Apr 2023 09:38:09 -0400 Subject: Common/IniFile: Move interface into Common namespace Gets this out of the global namespace and into the Common namespace --- Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp') diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp index dc9830de3f..0f6f004d10 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp @@ -139,7 +139,7 @@ void EmulatedController::SetDefaultDevice(ciface::Core::DeviceQualifier devq) } } -void EmulatedController::LoadConfig(IniFile::Section* sec, const std::string& base) +void EmulatedController::LoadConfig(Common::IniFile::Section* sec, const std::string& base) { const auto lock = GetStateLock(); std::string defdev = GetDefaultDevice().ToString(); @@ -153,7 +153,7 @@ void EmulatedController::LoadConfig(IniFile::Section* sec, const std::string& ba cg->LoadConfig(sec, defdev, base); } -void EmulatedController::SaveConfig(IniFile::Section* sec, const std::string& base) +void EmulatedController::SaveConfig(Common::IniFile::Section* sec, const std::string& base) { const auto lock = GetStateLock(); const std::string defdev = GetDefaultDevice().ToString(); @@ -168,7 +168,7 @@ void EmulatedController::LoadDefaults(const ControllerInterface& ciface) { const auto lock = GetStateLock(); // load an empty inifile section, clears everything - IniFile::Section sec; + Common::IniFile::Section sec; LoadConfig(&sec); const std::string& default_device_string = ciface.GetDefaultDeviceString(); -- cgit v1.2.3