2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

texture_cache: Correct variable naming.

This commit is contained in:
Fernando Sahmkow 2019-06-25 19:35:08 -04:00
parent 5aeabd9a17
commit 223ca80753

View file

@ -225,9 +225,9 @@ public:
}
const CacheAddr page = cache_addr >> registry_page_bits;
std::vector<TSurface>& list = registry[page];
for (auto& s : list) {
if (s->GetCacheAddr() == cache_addr) {
return s;
for (auto& surface : list) {
if (surface->GetCacheAddr() == cache_addr) {
return surface;
}
}
return nullptr;