From e429d75489b959e13fd7d15f0c9a30122e56a9fd Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sat, 15 Jan 2011 10:33:07 +0000 Subject: Clean up nowx and stop cocoaApp busy-waiting in the main loop. Set up an exit(3) task to shut down real wiimotes. This shouldn't really be necessary, but we do currently handle a number of error conditions by calling exit(3). Retire the inputuicommon library. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6852 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Source/Core/Common/Src/FileUtil.cpp') 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 -- cgit v1.2.3