fix plugin dir for nongui version for osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3155 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3b173a2dad
commit
c70dd2ab0a
Source/Core/Common/Src
|
@ -531,8 +531,15 @@ std::string GetBundleDirectory()
|
||||||
CFStringGetFileSystemRepresentation(BundlePath, AppBundlePath, sizeof(AppBundlePath));
|
CFStringGetFileSystemRepresentation(BundlePath, AppBundlePath, sizeof(AppBundlePath));
|
||||||
CFRelease(BundleRef);
|
CFRelease(BundleRef);
|
||||||
CFRelease(BundlePath);
|
CFRelease(BundlePath);
|
||||||
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
return AppBundlePath;
|
return AppBundlePath;
|
||||||
|
#else
|
||||||
|
std::string NoWxBundleDirectory;
|
||||||
|
NoWxBundleDirectory=AppBundlePath;
|
||||||
|
NoWxBundleDirectory+=DIR_SEP;
|
||||||
|
NoWxBundleDirectory+="Dolphin.app";
|
||||||
|
return NoWxBundleDirectory;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue