Fixed Issue 384 - minor compilation error in linux when using local inis.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1715 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-08-31 17:31:29 +00:00
parent 297a8a97cf
commit 5706a23ca2
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, const char *argv[])
Path::CreateDirectory("~/.pcsx2"); Path::CreateDirectory("~/.pcsx2");
Path::ChangeDirectory("~/.pcsx2"); Path::ChangeDirectory("~/.pcsx2");
Path::CreateDirectory(DEFAULT_INIS_DIR); Path::CreateDirectory(DEFAULT_INIS_DIR);
Config.Paths.Inis = "~/.pcsx2/" + DEFAULT_INIS_DIR + "/"; Config.Paths.Inis = "~/.pcsx2/" + string(DEFAULT_INIS_DIR) + "/";
sprintf(cfgfile, "%s/pcsx2.cfg", Config.Paths.Inis.c_str()); sprintf(cfgfile, "%s/pcsx2.cfg", Config.Paths.Inis.c_str());
Path::ChangeDirectory(Config.Paths.Working); Path::ChangeDirectory(Config.Paths.Working);
#endif #endif