From 5512eadd08778817b4b0b9dfdda1e78394095d58 Mon Sep 17 00:00:00 2001 From: Techjar Date: Tue, 21 Aug 2018 15:54:25 -0400 Subject: [PATCH] VideoCommon/HiresTextures: Change wildcard to a Windows-compatible character --- Source/Core/VideoCommon/HiresTextures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 79e71fa32b..70b9df00be 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/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())