aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/macosx/macosx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/macosx/macosx.cpp')
-rw-r--r--backends/platform/sdl/macosx/macosx.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp
index 500e438ec0..8669bf6a66 100644
--- a/backends/platform/sdl/macosx/macosx.cpp
+++ b/backends/platform/sdl/macosx/macosx.cpp
@@ -188,7 +188,9 @@ Common::String OSystem_MacOSX::getSystemLanguage() const {
}
Common::String OSystem_MacOSX::getScreenshotsPath() {
- Common::String path = getDesktopPathMacOSX();
+ Common::String path = ConfMan.get("screenshotpath");
+ if (path.empty())
+ path = getDesktopPathMacOSX();
if (!path.empty() && !path.hasSuffix("/"))
path += "/";
return path;