summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-15 10:33:07 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-15 10:33:07 +0000
commite429d75489b959e13fd7d15f0c9a30122e56a9fd (patch)
treee6eaec9ce1dcd4d7ed137d58815c4ce520f47ebc /Source/Core/Common/Src/FileUtil.cpp
parent8ef79e0af8b8d767ec31cd5b4454ffaf2e18a596 (diff)
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
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