summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileSearch.cpp
diff options
context:
space:
mode:
authorfires.gc <fires.gc@gmail.com>2008-11-01 15:59:06 +0000
committerfires.gc <fires.gc@gmail.com>2008-11-01 15:59:06 +0000
commit046ca53f8c0827d37f5f7e009e0c3e2dfec74a10 (patch)
tree27398d131817b47c3ccff3c2da84b85ff9598988 /Source/Core/Common/Src/FileSearch.cpp
parentdad9f74b0964a20f93d287fd2512007ad2c46e2e (diff)
updating the HLE FS and FileIO
added banner support of the savegames for wii... same games git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1031 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileSearch.cpp')
-rw-r--r--Source/Core/Common/Src/FileSearch.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/Common/Src/FileSearch.cpp b/Source/Core/Common/Src/FileSearch.cpp
index 6ada69d79b..95df8a0ba8 100644
--- a/Source/Core/Common/Src/FileSearch.cpp
+++ b/Source/Core/Common/Src/FileSearch.cpp
@@ -56,11 +56,13 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string&
bool bkeepLooping = true;
while (bkeepLooping)
- {
- std::string strFilename;
- BuildCompleteFilename(strFilename, _strPath, findData.cFileName);
-
- m_FileNames.push_back(strFilename);
+ {
+ if (findData.cFileName[0] != '.')
+ {
+ std::string strFilename;
+ BuildCompleteFilename(strFilename, _strPath, findData.cFileName);
+ m_FileNames.push_back(strFilename);
+ }
bkeepLooping = FindNextFile(FindFirst, &findData) ? true : false;
}