Emulated Wiimote: Moved the IR Pointer settings to a separate 'IR Pointer.ini' file. Also moved the 'WiimoteMovement.ini' file to the /User/Config dir.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2440 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-26 00:35:17 +00:00
parent 4bcb9b5834
commit ae81c01449
3 changed files with 33 additions and 22 deletions

View File

@ -40,7 +40,7 @@ void ConfigDialog::LoadFile()
Console::Print("LoadFile()\n");
IniFile file;
file.Load("WiimoteMovement.ini");
file.Load(FULL_CONFIG_DIR "WiimoteMovement.ini");
for (int i = 1; i < (RECORDING_ROWS + 1); i++)
{
@ -82,7 +82,7 @@ void ConfigDialog::SaveFile()
Console::Print("SaveFile\n");
IniFile file;
file.Load("WiimoteMovement.ini");
file.Load(FULL_CONFIG_DIR "WiimoteMovement.ini");
for(int i = 1; i < (RECORDING_ROWS + 1); i++)
{
@ -114,7 +114,7 @@ void ConfigDialog::SaveFile()
file.Set(SaveName.c_str(), "PlaybackSpeed", m_RecordPlayBackSpeed[i]->GetSelection());
}
file.Save("WiimoteMovement.ini");
file.Save(FULL_CONFIG_DIR "WiimoteMovement.ini");
Console::Print("SaveFile()\n");
}
/////////////////////////////
@ -360,7 +360,7 @@ void ConfigDialog::ConvertToString()
{
// Load ini file
IniFile file;
file.Load("WiimoteMovement.ini");
file.Load(FULL_CONFIG_DIR "WiimoteMovement.ini");
std::string TmpStr = "", TmpIR = "", TmpTime = "";
for (int i = 0; i < m_vRecording.size(); i++)
@ -422,7 +422,7 @@ void ConfigDialog::ConvertToString()
m_RecordPlayBackSpeed[m_iRecordTo]->SetSelection(3);
}
file.Save("WiimoteMovement.ini");
file.Save(FULL_CONFIG_DIR "WiimoteMovement.ini");
Console::Print("Save recording to WiimoteMovement.ini\n");
}