nJoy: Moved nJoy.ini to the config dir

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2445 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-02-26 08:42:18 +00:00
parent bd891cfff6
commit 0f2a0750a2

View file

@ -102,7 +102,7 @@ void Config::Save(int Slot)
// Load ini file // Load ini file
IniFile file; IniFile file;
file.Load("nJoy.ini"); file.Load(FULL_CONFIG_DIR "nJoy.ini");
// ================================================================== // ==================================================================
// Global settings // Global settings
@ -182,7 +182,7 @@ void Config::Save(int Slot)
Console::Print("%i: Save: %i\n", 0, PadMapping[0].halfpress); Console::Print("%i: Save: %i\n", 0, PadMapping[0].halfpress);
file.Save("nJoy.ini"); file.Save(FULL_CONFIG_DIR "nJoy.ini");
} }
// Load settings from file // Load settings from file
@ -194,7 +194,7 @@ void Config::Load(bool ChangePad, bool ChangeSaveByID)
// Load file // Load file
IniFile file; IniFile file;
file.Load("nJoy.ini"); file.Load(FULL_CONFIG_DIR "nJoy.ini");
bool Tmp; // Tmp storage bool Tmp; // Tmp storage
// ================================================================== // ==================================================================