summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-10-02 04:00:23 +1300
committerScott Mansell <phiren@gmail.com>2015-10-02 04:00:23 +1300
commit58d893e56f05d6e8a1f4b61fd40e5d98793dc874 (patch)
tree0bc58d68011d218124594fecbdf421a4b8f853e8 /Source/Core/VideoCommon
parent696d6eae099feba23c280017c5184785fc1e3076 (diff)
parent06c6f60f5bd67d00b6a7d176b4cc3babacc04ab9 (diff)
Merge pull request #3075 from waddlesplash/no-regexp
FileSearch: Don't use RegExes, just do string comparisons.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/HiresTextures.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp
index e6f687a551..b90dddb557 100644
--- a/Source/Core/VideoCommon/HiresTextures.cpp
+++ b/Source/Core/VideoCommon/HiresTextures.cpp
@@ -84,11 +84,11 @@ void HiresTexture::Update()
std::string szDir = StringFromFormat("%s%s", File::GetUserPath(D_HIRESTEXTURES_IDX).c_str(), gameCode.c_str());
std::vector<std::string> Extensions {
- "*.png",
- "*.bmp",
- "*.tga",
- "*.dds",
- "*.jpg" // Why not? Could be useful for large photo-like textures
+ ".png",
+ ".bmp",
+ ".tga",
+ ".dds",
+ ".jpg" // Why not? Could be useful for large photo-like textures
};
auto rFilenames = DoFileSearch(Extensions, {szDir}, /*recursive*/ true);