mirror of https://github.com/AxioDL/nod.git
Fix apploader extraction
This commit is contained in:
parent
f093f633b4
commit
306c910710
|
@ -18,7 +18,7 @@ public:
|
||||||
m_fstSz = SBig(vals[2]);
|
m_fstSz = SBig(vals[2]);
|
||||||
s->seek(0x2440 + 0x14);
|
s->seek(0x2440 + 0x14);
|
||||||
s->read(vals, 8);
|
s->read(vals, 8);
|
||||||
m_apploaderSz = SBig(vals[0]) + SBig(vals[1]);
|
m_apploaderSz = 32 + SBig(vals[0]) + SBig(vals[1]);
|
||||||
|
|
||||||
/* Yay files!! */
|
/* Yay files!! */
|
||||||
parseFST(*s.get());
|
parseFST(*s.get());
|
||||||
|
|
|
@ -236,7 +236,7 @@ public:
|
||||||
m_fstSz = SBig(vals[2]) << 2;
|
m_fstSz = SBig(vals[2]) << 2;
|
||||||
ds->seek(0x2440 + 0x14);
|
ds->seek(0x2440 + 0x14);
|
||||||
ds->read(vals, 8);
|
ds->read(vals, 8);
|
||||||
m_apploaderSz = SBig(vals[0]) + SBig(vals[1]);
|
m_apploaderSz = 32 + SBig(vals[0]) + SBig(vals[1]);
|
||||||
|
|
||||||
/* Yay files!! */
|
/* Yay files!! */
|
||||||
parseFST(*ds.get());
|
parseFST(*ds.get());
|
||||||
|
|
Loading…
Reference in New Issue