mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
Reverted my earlier commit r34926.
svn-id: r34930
This commit is contained in:
parent
84b0d3d2f9
commit
71d7b5762a
@ -290,7 +290,7 @@ void OSystem_SDL::addSysArchivesToSearchSet(Common::SearchSet &s, int priority)
|
|||||||
// FIXME: We use depth = 4 for now, to match the old code. May want to change that
|
// FIXME: We use depth = 4 for now, to match the old code. May want to change that
|
||||||
Common::FSNode dataNode(DATA_PATH);
|
Common::FSNode dataNode(DATA_PATH);
|
||||||
if (dataNode.exists() && dataNode.isDirectory()) {
|
if (dataNode.exists() && dataNode.isDirectory()) {
|
||||||
s.add(DATA_PATH, new Common::FSDirectory(dataNode, 4), priority, true);
|
s.add(DATA_PATH, new Common::FSDirectory(dataNode, 4), priority);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -303,7 +303,7 @@ void OSystem_SDL::addSysArchivesToSearchSet(Common::SearchSet &s, int priority)
|
|||||||
if (CFURLGetFileSystemRepresentation(fileUrl, true, buf, sizeof(buf))) {
|
if (CFURLGetFileSystemRepresentation(fileUrl, true, buf, sizeof(buf))) {
|
||||||
// Success: Add it to the search path
|
// Success: Add it to the search path
|
||||||
Common::String bundlePath((const char *)buf);
|
Common::String bundlePath((const char *)buf);
|
||||||
s.add("__OSX_BUNDLE__", new Common::FSDirectory(bundlePath), priority, true);
|
s.add("__OSX_BUNDLE__", new Common::FSDirectory(bundlePath), priority);
|
||||||
}
|
}
|
||||||
CFRelease(fileUrl);
|
CFRelease(fileUrl);
|
||||||
}
|
}
|
||||||
|
@ -433,7 +433,7 @@ void SearchManager::addDirectory(const String &name, const FSNode &dir, int prio
|
|||||||
if (!dir.exists() || !dir.isDirectory())
|
if (!dir.exists() || !dir.isDirectory())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
add(name, new FSDirectory(dir, depth), priority, true);
|
add(name, new FSDirectory(dir, depth), priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchManager::clear() {
|
void SearchManager::clear() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user