mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
rsx: Apply Clang-Tidy fix "modernize-loop-convert" + const when relevant
This commit is contained in:
parent
1e327ad31b
commit
13671d9684
5 changed files with 23 additions and 23 deletions
|
@ -2172,11 +2172,11 @@ namespace rsx
|
|||
if (zeta_address)
|
||||
{
|
||||
//Find zeta address in bound zculls
|
||||
for (int i = 0; i < rsx::limits::zculls_count; i++)
|
||||
for (const auto& zcull : zculls)
|
||||
{
|
||||
if (zculls[i].binded)
|
||||
if (zcull.binded)
|
||||
{
|
||||
const u32 rsx_address = rsx::get_address(zculls[i].offset, CELL_GCM_LOCATION_LOCAL);
|
||||
const u32 rsx_address = rsx::get_address(zcull.offset, CELL_GCM_LOCATION_LOCAL);
|
||||
if (rsx_address == zeta_address)
|
||||
{
|
||||
zcull_surface_active = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue