mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix -Wshadow warning for file_entry
This struct didn't follow our naming convention, so let's rename the struct itself instead of the variable that triggered the warning.
This commit is contained in:
@ -146,7 +146,7 @@ File::IOFile& WbfsFileReader::SeekToCluster(u64 offset, u64* available)
|
||||
u64 cluster_offset = offset & (m_wbfs_sector_size - 1);
|
||||
u64 final_address = cluster_address + cluster_offset;
|
||||
|
||||
for (file_entry& file_entry : m_files)
|
||||
for (FileEntry& file_entry : m_files)
|
||||
{
|
||||
if (final_address < (file_entry.base_address + file_entry.size))
|
||||
{
|
||||
|
Reference in New Issue
Block a user