mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon/ControllerEmu: Break out functionality of EmulatedController
to eliminate redundant unused members in Wii Remote extension objects.
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/MathUtil.h"
|
||||
#include "Common/Matrix.h"
|
||||
#include "Common/StringUtil.h"
|
||||
@ -228,10 +227,9 @@ void ReshapableInput::SetCenter(ReshapableInput::ReshapeData center)
|
||||
m_center = center;
|
||||
}
|
||||
|
||||
void ReshapableInput::LoadConfig(Common::IniFile::Section* section,
|
||||
const std::string& default_device, const std::string& base_name)
|
||||
void ReshapableInput::LoadConfig(Common::IniFile::Section* section, const std::string& base_name)
|
||||
{
|
||||
ControlGroup::LoadConfig(section, default_device, base_name);
|
||||
ControlGroup::LoadConfig(section, base_name);
|
||||
|
||||
const std::string group(base_name + name + '/');
|
||||
|
||||
@ -271,10 +269,9 @@ void ReshapableInput::LoadConfig(Common::IniFile::Section* section,
|
||||
}
|
||||
}
|
||||
|
||||
void ReshapableInput::SaveConfig(Common::IniFile::Section* section,
|
||||
const std::string& default_device, const std::string& base_name)
|
||||
void ReshapableInput::SaveConfig(Common::IniFile::Section* section, const std::string& base_name)
|
||||
{
|
||||
ControlGroup::SaveConfig(section, default_device, base_name);
|
||||
ControlGroup::SaveConfig(section, base_name);
|
||||
|
||||
const std::string group(base_name + name + '/');
|
||||
|
||||
|
Reference in New Issue
Block a user