mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up.
This commit is contained in:
parent
00fe5057f1
commit
965b32be9c
90 changed files with 688 additions and 739 deletions
|
@ -234,10 +234,9 @@ bool ParseDisc()
|
|||
PartitionGroup[x].PartitionsVec.push_back(Partition);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < PartitionGroup[x].PartitionsVec.size(); i++)
|
||||
for (auto& rPartition : PartitionGroup[x].PartitionsVec)
|
||||
{
|
||||
SPartition& rPartition = PartitionGroup[x].PartitionsVec.at(i);
|
||||
const SPartitionHeader& rHeader = PartitionGroup[x].PartitionsVec.at(i).Header;
|
||||
const SPartitionHeader& rHeader = rPartition.Header;
|
||||
|
||||
MarkAsUsed(rPartition.Offset, 0x2c0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue