mirror of
https://github.com/AxioDL/nod.git
synced 2025-07-01 02:43:40 +00:00
minor vector optimization
This commit is contained in:
parent
cbea8fe764
commit
bcf67ca8eb
@ -134,6 +134,8 @@ class PartitionWii : public DiscBase::IPartition
|
||||
titleVersion = SBig(titleVersion);
|
||||
numContents = SBig(numContents);
|
||||
bootIdx = SBig(bootIdx);
|
||||
contents.clear();
|
||||
contents.reserve(numContents);
|
||||
for (uint16_t c=0 ; c<numContents ; ++c)
|
||||
{
|
||||
contents.emplace_back();
|
||||
|
Loading…
x
Reference in New Issue
Block a user