mirror of https://github.com/AxioDL/metaforce.git
SAVW file padding
This commit is contained in:
parent
21cb59ee74
commit
4b21ded1e3
|
@ -412,6 +412,10 @@ bool MLVL::Cook(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPat
|
|||
savwCooked.makeDirChain(false);
|
||||
athena::io::FileWriter fo(savwCooked.getAbsolutePath());
|
||||
savw.write(fo);
|
||||
int64_t rem = fo.position() % 32;
|
||||
if (rem)
|
||||
for (int64_t i=0 ; i<32-rem ; ++i)
|
||||
fo.writeBytes((atInt8*)"\xff", 1);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
2
nod
2
nod
|
@ -1 +1 @@
|
|||
Subproject commit dc474ad1560e93f95d99d7577703387a859d7d26
|
||||
Subproject commit e86971c9e082b58bb04ee794a106874b3ceae1c7
|
Loading…
Reference in New Issue