diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 2ca19327a4..d0f98cf42f 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -94,9 +94,6 @@ RageFileManager::RageFileManager() /* Paths relative to the CWD: */ RageFileManager::Mount( "dir", ".", "" ); -#elif defined(DARWIN) - /* TopLevelDir/StepMania.app/Contents/MacOS/ is CWD */ - RageFileManager::Mount( "dir", "../../..", ""); #else /* Paths relative to the CWD: */ RageFileManager::Mount( "dir", ".", "" ); diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index dee07c9fa3..53d7f721ee 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -67,13 +67,8 @@ map LogMaps; // constants /* We need to use SYS_BASE_PATH here, because this doesn't go through RageFile. */ -#if defined(DARWIN) -#define LOG_PATH "../../../log.txt" -#define INFO_PATH "../../../info.txt" -#else #define LOG_PATH SYS_BASE_PATH "log.txt" #define INFO_PATH SYS_BASE_PATH "info.txt" -#endif static RageFile g_fileLog, g_fileInfo; diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index fa3e8353c4..0bb5cdd550 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -127,6 +127,8 @@ static void ChangeToDirOfExecutable(const char *argv0) const char *home = getenv("HOME"); if( home ) chdir( home ); +#elif defined(DARWIN) + chdir(DirOfExecutable + "/../../.."); #endif #endif