mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 08:19:59 +00:00
texture_cache: Correct variable naming.
This commit is contained in:
parent
5aeabd9a17
commit
223ca80753
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue