mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
FileSearch: Don't use RegExs, just do string comparisons.
Nothing used the RegEx feature of FileSearch, and GCC < 4.9 doesn't support C++11 RegEx properly, so get rid of it.
This commit is contained in:
parent
79bf93996f
commit
5643fe5d1f
10 changed files with 36 additions and 44 deletions
|
@ -99,7 +99,7 @@ std::string VideoBackend::GetDisplayName() const
|
|||
|
||||
static std::vector<std::string> GetShaders(const std::string &sub_dir = "")
|
||||
{
|
||||
std::vector<std::string> paths = DoFileSearch({"*.glsl"}, {
|
||||
std::vector<std::string> paths = DoFileSearch({".glsl"}, {
|
||||
File::GetUserPath(D_SHADERS_IDX) + sub_dir,
|
||||
File::GetSysDirectory() + SHADERS_DIR DIR_SEP + sub_dir
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue