diff options
Diffstat (limited to 'backends/platform/sdl/posix')
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index 65a3f52f6f..71a88265a0 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -76,7 +76,11 @@ Common::WriteStream *OSystem_POSIX::createLogFile() { return 0; Common::String logFile(home); +#ifdef MACOSX + logFile += "/Library"; +#else logFile += "/.scummvm"; +#endif struct stat sb; @@ -95,7 +99,11 @@ Common::WriteStream *OSystem_POSIX::createLogFile() { return 0; } +#ifdef MACOSX + logFile += "/Logs"; +#else logFile += "/logs"; +#endif // Check whether the dir exists if (stat(logFile.c_str(), &sb) == -1) { |