diff options
| author | tmator <tmator@gmail.com> | 2009-05-04 19:48:00 +0000 |
|---|---|---|
| committer | tmator <tmator@gmail.com> | 2009-05-04 19:48:00 +0000 |
| commit | c70dd2ab0ac1776ac11076130aaed4b17180369f (patch) | |
| tree | ae479560e90cdfad10ae2d33a8a3e05eff3a92f0 /Source/Core/Common/Src/FileUtil.cpp | |
| parent | 3b173a2dade8162e6fcfa01e80ab0c3fd92d515f (diff) | |
fix plugin dir for nongui version for osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3155 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 3424defd06..a98dbce1be 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -531,8 +531,15 @@ 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 |
