From 8c5285eddffd8c554205d24baaf522be4f2fe4b2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 21 Sep 2009 20:28:17 +0000 Subject: fix some path issues on OSX, also libao for osx only supports 44.1kHz...awesome...who calls writing the CoreAudio backend so we can kill libao? :D git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4311 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileSearch.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/Common/Src/FileSearch.cpp') diff --git a/Source/Core/Common/Src/FileSearch.cpp b/Source/Core/Common/Src/FileSearch.cpp index 0cc7225f1c..363f578e24 100644 --- a/Source/Core/Common/Src/FileSearch.cpp +++ b/Source/Core/Common/Src/FileSearch.cpp @@ -101,7 +101,11 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string& if ( (s.size() > ext.size()) && (!strcasecmp(s.substr(s.size() - ext.size()).c_str(), ext.c_str())) ) { +#ifdef __APPLE__ + std::string full_name = _strPath + s; +#else std::string full_name = _strPath + "/" + s; +#endif m_FileNames.push_back(full_name); } } -- cgit v1.2.3