mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-04 23:29:18 +00:00
finally getting some squeaks from SSBM on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2792 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c2e3f42c0d
commit
20b54fb71f
6 changed files with 8 additions and 31 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "Common.h"
|
||||
#include "IniFile.h"
|
||||
#include "Config.h"
|
||||
#define LLE_CONFIG_FILE "DSPLLE.ini"
|
||||
|
||||
CConfig g_Config;
|
||||
|
||||
|
@ -29,11 +30,10 @@ CConfig::CConfig()
|
|||
void CConfig::Load()
|
||||
{
|
||||
// first load defaults
|
||||
std::string temp;
|
||||
|
||||
std::string temp;
|
||||
|
||||
IniFile file;
|
||||
file.Load(FULL_CONFIG_DIR "DSP.ini");
|
||||
file.Get("Config", "EnableHLEAudio", &m_EnableHLEAudio, false);
|
||||
file.Load(FULL_CONFIG_DIR LLE_CONFIG_FILE);
|
||||
file.Get("Config", "EnableThrottle", &m_EnableThrottle, true);
|
||||
#ifdef _WIN32
|
||||
file.Get("Config", "Backend", &sBackend, "DSound");
|
||||
|
@ -45,10 +45,9 @@ void CConfig::Load()
|
|||
void CConfig::Save()
|
||||
{
|
||||
IniFile file;
|
||||
file.Load(FULL_CONFIG_DIR "DSP.ini");
|
||||
file.Set("Config", "EnableHLEAudio", m_EnableHLEAudio); // Sound Settings
|
||||
file.Load(FULL_CONFIG_DIR LLE_CONFIG_FILE);
|
||||
file.Set("Config", "EnableThrottle", m_EnableThrottle);
|
||||
file.Set("Config", "Backend", sBackend.c_str());
|
||||
|
||||
file.Save(FULL_CONFIG_DIR "DSP.ini");
|
||||
file.Save(FULL_CONFIG_DIR LLE_CONFIG_FILE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue