mirror of https://github.com/PCSX2/pcsx2.git
zeropad: Properly setup the path of the ini file.
+ metadata of my previous zz merge git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3875 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
46b526976f
commit
b93d9617cd
|
@ -42,7 +42,7 @@ void SaveConfig()
|
||||||
int i, j;
|
int i, j;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
||||||
const std::string iniFile(s_strIniPath + "zeropad.ini");
|
const std::string iniFile(s_strIniPath + "/zeropad.ini");
|
||||||
f = fopen(iniFile.c_str(), "w");
|
f = fopen(iniFile.c_str(), "w");
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
{
|
{
|
||||||
|
@ -85,7 +85,7 @@ void LoadConfig()
|
||||||
conf.keys[0][15] = XK_s; // LEFT
|
conf.keys[0][15] = XK_s; // LEFT
|
||||||
conf.log = 0;
|
conf.log = 0;
|
||||||
|
|
||||||
const std::string iniFile(s_strIniPath + "zeropad.ini");
|
const std::string iniFile(s_strIniPath + "/zeropad.ini");
|
||||||
f = fopen(iniFile.c_str(), "r");
|
f = fopen(iniFile.c_str(), "r");
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue