mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Replacement: Avoid needless exists check per tex.
This commit is contained in:
parent
cf27d14131
commit
e504f0db8f
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ void TextureReplacer::PopulateReplacement(ReplacedTexture *result, u64 cachekey,
|
|||
for (int i = 0; i < MAX_MIP_LEVELS; ++i) {
|
||||
const std::string hashfile = LookupHashFile(cachekey, hash, i);
|
||||
const Path filename = basePath_ / hashfile;
|
||||
if (hashfile.empty() || !File::Exists(filename)) {
|
||||
if (hashfile.empty()) {
|
||||
// Out of valid mip levels. Bail out.
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue