mirror of https://github.com/AxioDL/metaforce.git
Minor STL usage tweak
This commit is contained in:
parent
e14bbeb368
commit
157c06f1f9
|
@ -446,8 +446,7 @@ bool MREA::PCCook(const hecl::ProjectPath& outPath,
|
||||||
std::vector<uint8_t>& sec = *it;
|
std::vector<uint8_t>& sec = *it;
|
||||||
int i = sec.size();
|
int i = sec.size();
|
||||||
int end = ROUND_UP_32(i);
|
int end = ROUND_UP_32(i);
|
||||||
for (; i<end ; ++i)
|
sec.resize(end);
|
||||||
sec.push_back(0);
|
|
||||||
w.writeUint32Big(end);
|
w.writeUint32Big(end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue