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
// 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>
@ -73,12 +73,9 @@ OSystemMACOSX::OSystemMACOSX()
string statedir = basedir + "/state";
setStateDir(statedir);
// FIXME - use setPropertiesDir() method
string userPropertiesFile = basedir + "/stella.pro";
strcat(parentdir,"/../../../stella.pro");
string systemPropertiesFile = parentdir;
setPropertiesFiles(userPropertiesFile, systemPropertiesFile);
////
strcat(parentdir,"/../../..");
string systemPropertiesDir = parentdir;
setPropertiesDir(basedir, systemPropertiesDir);
string userConfigFile = basedir + "/stellarc";
string systemConfigFile = "/etc/stellarc";