mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
completed the iso directory path chooser. changed a ini variable name so it is more to sonic's liking, and corrected an #ifndef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@654 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -104,7 +104,7 @@ void ConfigDialog::CreateGUIControls()
|
||||
sDeviceBottom[i] = new wxBoxSizer(wxHORIZONTAL);
|
||||
m_DeviceName[i] = new wxChoice(m_Controller[i], ID_DEVICENAME, wxDefaultPosition, wxDefaultSize, arrayStringFor_DeviceName, 0, wxDefaultValidator);
|
||||
m_Attached[i] = new wxCheckBox(m_Controller[i], ID_ATTACHED, wxT("Controller attached"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_Disable[i] = new wxCheckBox(m_Controller[i], ID_DISABLE, wxT("Disable when window looses focus"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_Disable[i] = new wxCheckBox(m_Controller[i], ID_DISABLE, wxT("Disable when dolphin isn't in foreground"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_Rumble[i] = new wxCheckBox(m_Controller[i], ID_RUMBLE, wxT("Enable rumble"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
|
||||
m_Attached[i]->SetValue(pad[i].attached);
|
||||
m_Disable[i]->SetValue(pad[i].disable);
|
||||
|
@ -675,7 +675,7 @@ void LoadConfig()
|
||||
//keyboard settings
|
||||
file.Get(SectionName, "Type", &pad[i].type);
|
||||
file.Get(SectionName, "Attached", &pad[i].attached, false);
|
||||
file.Get(SectionName, "Disable when window looses focus", &pad[i].disable, false);
|
||||
file.Get(SectionName, "DisableOnBackground", &pad[i].disable, false);
|
||||
|
||||
for (int x = 0; x < NUMCONTROLS; x++)
|
||||
{
|
||||
@ -687,7 +687,7 @@ void LoadConfig()
|
||||
//xpad settings
|
||||
file.Get(SectionName, "Type", &pad[i].type);
|
||||
file.Get(SectionName, "Attached", &pad[i].attached, false);
|
||||
file.Get(SectionName, "Disable when window looses focus", &pad[i].disable, false);
|
||||
file.Get(SectionName, "DisableOnBackground", &pad[i].disable, false);
|
||||
file.Get(SectionName, "Rumble", &pad[i].rumble, true);
|
||||
file.Get(SectionName, "XPad#", &pad[i].XPad);
|
||||
}
|
||||
@ -710,7 +710,7 @@ void SaveConfig()
|
||||
//keyboard settings
|
||||
file.Set(SectionName, "Type", pad[i].type);
|
||||
file.Set(SectionName, "Attached", pad[i].attached);
|
||||
file.Set(SectionName, "Disable when window looses focus", pad[i].disable);
|
||||
file.Set(SectionName, "DisableOnBackground", pad[i].disable);
|
||||
|
||||
for (int x = 0; x < NUMCONTROLS; x++)
|
||||
{
|
||||
@ -722,7 +722,7 @@ void SaveConfig()
|
||||
//xpad settings
|
||||
file.Set(SectionName, "Type", pad[i].type);
|
||||
file.Set(SectionName, "Attached", pad[i].attached);
|
||||
file.Set(SectionName, "Disable when window looses focus", pad[i].disable);
|
||||
file.Set(SectionName, "DisableOnBackground", pad[i].disable);
|
||||
file.Set(SectionName, "Rumble", pad[i].rumble);
|
||||
file.Set(SectionName, "XPad#", pad[i].XPad);
|
||||
}
|
||||
|
Reference in New Issue
Block a user