Merge pull request #7349 from Techjar/texture-wildcard-fix
VideoCommon/HiresTextures: Change wildcard to a Windows-compatible character
This commit is contained in:
commit
74cbc6cde0
|
@ -254,8 +254,8 @@ std::string HiresTexture::GenBaseName(const u8* texture, size_t texture_size, co
|
||||||
std::string fullname = basename + tlutname + formatname;
|
std::string fullname = basename + tlutname + formatname;
|
||||||
|
|
||||||
// try to match a wildcard template
|
// try to match a wildcard template
|
||||||
if (!dump && s_textureMap.find(basename + "_*" + formatname) != s_textureMap.end())
|
if (!dump && s_textureMap.find(basename + "_$" + formatname) != s_textureMap.end())
|
||||||
return basename + "_*" + formatname;
|
return basename + "_$" + formatname;
|
||||||
|
|
||||||
// else generate the complete texture
|
// else generate the complete texture
|
||||||
if (dump || s_textureMap.find(fullname) != s_textureMap.end())
|
if (dump || s_textureMap.find(fullname) != s_textureMap.end())
|
||||||
|
|
Loading…
Reference in New Issue