aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BFileManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BFileManager.cpp')
-rw-r--r--engines/wintermute/Base/BFileManager.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/engines/wintermute/Base/BFileManager.cpp b/engines/wintermute/Base/BFileManager.cpp
index a143231abc..61017a9850 100644
--- a/engines/wintermute/Base/BFileManager.cpp
+++ b/engines/wintermute/Base/BFileManager.cpp
@@ -300,33 +300,6 @@ ERRORCODE CBFileManager::initPaths() {
// package files paths
addPath(PATH_PACKAGE, "./");
- /*#ifdef __APPLE__
- // search .app path and Resources dir in the bundle
- CFURLRef appUrlRef = CFBundleCopyBundleURL(CFBundleGetMainBundle());
- CFStringRef macPath = CFURLCopyFileSystemPath(appUrlRef, kCFURLPOSIXPathStyle);
- const char *pathPtr = CFStringGetCStringPtr(macPath, CFStringGetSystemEncoding());
-
- #ifdef __IPHONE__
- AddPath(PATH_PACKAGE, pathPtr);
- AddPath(PATH_SINGLE, pathPtr);
- #else
- char bundlePath[MAX_PATH_LENGTH];
-
- sprintf(bundlePath, "%s/../", pathPtr);
- AddPath(PATH_PACKAGE, bundlePath);
- AddPath(PATH_SINGLE, bundlePath);
-
- sprintf(bundlePath, "%s/Contents/Resources/", pathPtr);
- AddPath(PATH_PACKAGE, bundlePath);
- AddPath(PATH_SINGLE, bundlePath);
-
-
- CFRelease(appUrlRef);
- CFRelease(macPath);
- #endif
- #endif*/
-
-
pathList = Game->_registry->readString("Resource", "PackagePaths", "");
numPaths = CBUtils::strNumEntries(pathList.c_str(), ';');