Skip to content

Commit

Permalink
Change a default, add a comment on how to fix the actual bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 25, 2023
1 parent c2963c7 commit 6f93e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GPU/Common/TextureReplacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool TextureReplacer::LoadIni() {
ComputeAliasMap(filenameMap);
// Set some defaults.
allowVideo_ = false;
ignoreAddress_ = false;
ignoreAddress_ = true;
reduceHash_ = false;
ignoreMipmap_ = false;
// TODO: others?
Expand Down Expand Up @@ -599,6 +599,7 @@ ReplacedTexture *TextureReplacer::FindReplacement(u64 cachekey, u32 hash, int w,
}
desc.logId = desc.filenames[0];
desc.hashfiles = desc.filenames[0]; // The generated filename of the top level is used as the key in the data cache.
// TODO: here `hashfiles` is set to an empty string, breaking stuff below.
} else {
desc.logId = hashfiles;
SplitString(hashfiles, '|', desc.filenames);
Expand Down

0 comments on commit 6f93e44

Please sign in to comment.