Permalink
Browse files

VideoCommon/HiresTextures: Change wildcard to a Windows-compatible ch…

…aracter
  • Loading branch information...
Techjar committed Aug 21, 2018
1 parent d440871 commit 5512eadd08778817b4b0b9dfdda1e78394095d58
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/VideoCommon/HiresTextures.cpp
@@ -254,8 +254,8 @@ std::string HiresTexture::GenBaseName(const u8* texture, size_t texture_size, co
std::string fullname = basename + tlutname + formatname;
// try to match a wildcard template
if (!dump && s_textureMap.find(basename + "_*" + formatname) != s_textureMap.end())
return basename + "_*" + formatname;
if (!dump && s_textureMap.find(basename + "_$" + formatname) != s_textureMap.end())
return basename + "_$" + formatname;
// else generate the complete texture
if (dump || s_textureMap.find(fullname) != s_textureMap.end())

0 comments on commit 5512ead

Please sign in to comment.