From 5643fe5d1f55f6311d842d73c4614c3577bd10e2 Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Mon, 21 Sep 2015 20:01:08 -0400 Subject: 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. --- Source/Core/VideoCommon/HiresTextures.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Core/VideoCommon/HiresTextures.cpp') 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 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); -- cgit v1.2.3