ALL: Sync with ScummVM rev. 55dba55056
This commit is contained in:
parent
aaec28e12f
commit
feaf9dc365
200 changed files with 13353 additions and 13638 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "backends/taskbar/macosx/macosx-taskbar.h"
|
||||
#include "backends/dialogs/macosx/macosx-dialogs.h"
|
||||
#include "backends/platform/sdl/macosx/macosx_wrapper.h"
|
||||
#include "backends/fs/posix/posix-fs.h"
|
||||
|
||||
#include "common/archive.h"
|
||||
#include "common/config-manager.h"
|
||||
|
@ -199,6 +200,19 @@ Common::String OSystem_MacOSX::getSystemLanguage() const {
|
|||
#endif // USE_DETECTLANG
|
||||
}
|
||||
|
||||
Common::String OSystem_MacOSX::getDefaultLogFileName() {
|
||||
const char *prefix = getenv("HOME");
|
||||
if (prefix == nullptr) {
|
||||
return Common::String();
|
||||
}
|
||||
|
||||
if (!Posix::assureDirectoryExists("Library/Logs", prefix)) {
|
||||
return Common::String();
|
||||
}
|
||||
|
||||
return Common::String(prefix) + "/Library/Logs/scummvm.log";
|
||||
}
|
||||
|
||||
Common::String OSystem_MacOSX::getScreenshotsPath() {
|
||||
Common::String path = ConfMan.get("screenshotpath");
|
||||
if (path.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue