summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
-rw-r--r--Source/Core/Common/Src/FileUtil.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp
index c8ef55103f..f37ba1e669 100644
--- a/Source/Core/Common/Src/FileUtil.cpp
+++ b/Source/Core/Common/Src/FileUtil.cpp
@@ -598,15 +598,8 @@ std::string GetBundleDirectory()
CFStringGetFileSystemRepresentation(BundlePath, AppBundlePath, sizeof(AppBundlePath));
CFRelease(BundleRef);
CFRelease(BundlePath);
-#if defined(HAVE_WX) && HAVE_WX
+
return AppBundlePath;
-#else
- std::string NoWxBundleDirectory;
- NoWxBundleDirectory=AppBundlePath;
- NoWxBundleDirectory+=DIR_SEP;
- NoWxBundleDirectory+="Dolphin.app";
- return NoWxBundleDirectory;
-#endif
}
#endif