From 046ca53f8c0827d37f5f7e009e0c3e2dfec74a10 Mon Sep 17 00:00:00 2001 From: "fires.gc" Date: Sat, 1 Nov 2008 15:59:06 +0000 Subject: 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 --- Source/Core/Common/Src/FileSearch.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (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 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; } -- cgit v1.2.3