From 0f2a0750a28cec9c47e0de89dd3fca849b0be669 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Thu, 26 Feb 2009 08:42:18 +0000 Subject: [PATCH] nJoy: Moved nJoy.ini to the config dir git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2445 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp b/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp index d42b68aac9..ac7bc06c4a 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp @@ -102,7 +102,7 @@ void Config::Save(int Slot) // Load ini file IniFile file; - file.Load("nJoy.ini"); + file.Load(FULL_CONFIG_DIR "nJoy.ini"); // ================================================================== // Global settings @@ -182,7 +182,7 @@ void Config::Save(int Slot) 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 @@ -194,7 +194,7 @@ void Config::Load(bool ChangePad, bool ChangeSaveByID) // Load file IniFile file; - file.Load("nJoy.ini"); + file.Load(FULL_CONFIG_DIR "nJoy.ini"); bool Tmp; // Tmp storage // ==================================================================