mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 05:52:38 +00:00
Merge GCPadNew into Dolphin. This takes place in three segments: Core, InputCommon, and InputUICommon. From now on it can be referred to just as "GCPad".
Switch to Billiard's IniFile implementation throughout Dolphin (it's faster!!). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5579 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d0c65b610c
commit
e4085f0f04
104 changed files with 2478 additions and 8746 deletions
|
@ -34,7 +34,7 @@ void CConfig::Load()
|
|||
// first load defaults
|
||||
IniFile file;
|
||||
file.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "DSP.ini").c_str());
|
||||
file.Get("Config", "EnableHLEAudio", &m_EnableHLEAudio, true); // Sound Settings
|
||||
file["Config"].Get("EnableHLEAudio", &m_EnableHLEAudio, true); // Sound Settings
|
||||
ac_Config.Load(file);
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ void CConfig::Save()
|
|||
{
|
||||
IniFile file;
|
||||
file.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "DSP.ini").c_str());
|
||||
file.Set("Config", "EnableHLEAudio", m_EnableHLEAudio); // Sound Settings
|
||||
file["Config"].Set("EnableHLEAudio", m_EnableHLEAudio); // Sound Settings
|
||||
ac_Config.Set(file);
|
||||
|
||||
file.Save((std::string(File::GetUserPath(D_CONFIG_IDX)) + "DSP.ini").c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue