ALL: Sync with ScummVM - rev. 87ebc7140c
This commit is contained in:
parent
0a212398b3
commit
84e62b6c8d
261 changed files with 27464 additions and 13852 deletions
|
@ -137,7 +137,7 @@ bool OSystem_MacOSX::openUrl(const Common::String &url) {
|
|||
CFURLRef urlRef = CFURLCreateWithBytes (NULL, (UInt8*)url.c_str(), url.size(), kCFStringEncodingASCII, NULL);
|
||||
OSStatus err = LSOpenCFURLRef(urlRef, NULL);
|
||||
CFRelease(urlRef);
|
||||
return err != noErr;
|
||||
return err == noErr;
|
||||
}
|
||||
|
||||
Common::String OSystem_MacOSX::getSystemLanguage() const {
|
||||
|
@ -187,6 +187,15 @@ Common::String OSystem_MacOSX::getSystemLanguage() const {
|
|||
#endif // USE_DETECTLANG
|
||||
}
|
||||
|
||||
Common::String OSystem_MacOSX::getScreenshotsPath() {
|
||||
Common::String path = ConfMan.get("screenshotpath");
|
||||
if (path.empty())
|
||||
path = getDesktopPathMacOSX();
|
||||
if (!path.empty() && !path.hasSuffix("/"))
|
||||
path += "/";
|
||||
return path;
|
||||
}
|
||||
|
||||
AudioCDManager *OSystem_MacOSX::createAudioCDManager() {
|
||||
return createMacOSXAudioCDManager();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue