mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 17:28:33 +00:00
update Cheat files
This commit is contained in:
parent
9ab8c1e433
commit
cbfd634a4b
217 changed files with 2263 additions and 1880 deletions
|
@ -29,7 +29,7 @@ InputConfig::~InputConfig() = default;
|
|||
|
||||
bool InputConfig::LoadConfig(InputClass type)
|
||||
{
|
||||
IniFile inifile;
|
||||
Common::IniFile inifile;
|
||||
bool useProfile[MAX_BBMOTES] = {false, false, false, false, false};
|
||||
static constexpr std::array<std::string_view, MAX_BBMOTES> num = {"1", "2", "3", "4", "BB"};
|
||||
std::string profile[MAX_BBMOTES];
|
||||
|
@ -57,8 +57,8 @@ bool InputConfig::LoadConfig(InputClass type)
|
|||
break;
|
||||
}
|
||||
|
||||
IniFile game_ini = SConfig::GetInstance().LoadGameIni();
|
||||
IniFile::Section* control_section = game_ini.GetOrCreateSection("Controls");
|
||||
Common::IniFile game_ini = SConfig::GetInstance().LoadGameIni();
|
||||
auto* control_section = game_ini.GetOrCreateSection("Controls");
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ bool InputConfig::LoadConfig(InputClass type)
|
|||
std::vector<std::string> controller_names;
|
||||
for (auto& controller : m_controllers)
|
||||
{
|
||||
IniFile::Section config;
|
||||
Common::IniFile::Section config;
|
||||
// Load settings from ini
|
||||
if (useProfile[n])
|
||||
{
|
||||
|
@ -146,7 +146,7 @@ void InputConfig::SaveConfig()
|
|||
{
|
||||
std::string ini_filename = File::GetUserPath(D_CONFIG_IDX) + m_ini_name + ".ini";
|
||||
|
||||
IniFile inifile;
|
||||
Common::IniFile inifile;
|
||||
inifile.Load(ini_filename);
|
||||
|
||||
std::vector<std::string> controller_names;
|
||||
|
@ -212,7 +212,7 @@ bool InputConfig::IsControllerControlledByGamepadDevice(int index) const
|
|||
controller.name == "Keyboard Mouse")); // Windows Keyboard/Mouse
|
||||
}
|
||||
|
||||
void InputConfig::GenerateControllerTextures(const IniFile& file)
|
||||
void InputConfig::GenerateControllerTextures(const Common::IniFile& file)
|
||||
{
|
||||
std::vector<std::string> controller_names;
|
||||
for (auto& controller : m_controllers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue