mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
VideoCommon/HiresTextures: Change wildcard to a Windows-compatible character
This commit is contained in:
parent
d44087128e
commit
5512eadd08
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue