Fixed Properties Directory setting in Mac version

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@777 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
markgrebe 2005-09-14 01:50:42 +00:00
parent 8aed4f81a9
commit 4996193441
1 changed files with 4 additions and 7 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: OSystemMACOSX.cxx,v 1.5 2005-09-11 22:55:51 stephena Exp $ // $Id: OSystemMACOSX.cxx,v 1.6 2005-09-14 01:50:42 markgrebe Exp $
//============================================================================ //============================================================================
#include <cstdlib> #include <cstdlib>
@ -73,12 +73,9 @@ OSystemMACOSX::OSystemMACOSX()
string statedir = basedir + "/state"; string statedir = basedir + "/state";
setStateDir(statedir); setStateDir(statedir);
// FIXME - use setPropertiesDir() method strcat(parentdir,"/../../..");
string userPropertiesFile = basedir + "/stella.pro"; string systemPropertiesDir = parentdir;
strcat(parentdir,"/../../../stella.pro"); setPropertiesDir(basedir, systemPropertiesDir);
string systemPropertiesFile = parentdir;
setPropertiesFiles(userPropertiesFile, systemPropertiesFile);
////
string userConfigFile = basedir + "/stellarc"; string userConfigFile = basedir + "/stellarc";
string systemConfigFile = "/etc/stellarc"; string systemConfigFile = "/etc/stellarc";