mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-10 21:06:20 +02:00
Undo accidental screwup of some HiresTextures code from project-moration.
This is why I should wait for people to review, even if I get annoyed that nobody seems to care. :duncecap:
This commit is contained in:
1 parent
0f7f8f8774
commit
830a4e4f8f
1 file changed
+7
-2
@@ -102,8 +102,13 @@ void HiresTexture::Update()
|
||||
std::string FileName;
|
||||
SplitPath(rFilename, nullptr, &FileName, nullptr);
|
||||
|
||||
if (FileName.substr(0, code.length()) == code ||
|
||||
FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
||||
if (FileName.substr(0, code.length()) == code)
|
||||
{
|
||||
s_textureMap[FileName] = rFilename;
|
||||
s_check_native_format = true;
|
||||
}
|
||||
|
||||
if (FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
||||
{
|
||||
s_textureMap[FileName] = rFilename;
|
||||
s_check_new_format = true;
|
||||
|
||||
Reference in new issue
Block a user