MACOSX: Create screenshot on Desktop

This is consistent with the OS shortcut (Crtl+Shift+3) to take a
screenshot.
This commit is contained in:
Thierry Crozat 2017-04-24 00:30:28 +01:00
parent 438f23f272
commit 11dd33bb73
5 changed files with 33 additions and 2 deletions

View file

@ -187,6 +187,13 @@ Common::String OSystem_MacOSX::getSystemLanguage() const {
#endif // USE_DETECTLANG
}
Common::String OSystem_MacOSX::getScreenshotsPath() {
Common::String path = getDesktopPathMacOSX();
if (!path.empty() && !path.hasSuffix("/"))
path += "/";
return path;
}
AudioCDManager *OSystem_MacOSX::createAudioCDManager() {
return createMacOSXAudioCDManager();
}