Fix apploader extraction

This commit is contained in:
Phillip Stephens 2015-07-04 10:30:00 -07:00
parent f093f633b4
commit 306c910710
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public:
m_fstSz = SBig(vals[2]);
s->seek(0x2440 + 0x14);
s->read(vals, 8);
m_apploaderSz = SBig(vals[0]) + SBig(vals[1]);
m_apploaderSz = 32 + SBig(vals[0]) + SBig(vals[1]);
/* Yay files!! */
parseFST(*s.get());

View File

@ -236,7 +236,7 @@ public:
m_fstSz = SBig(vals[2]) << 2;
ds->seek(0x2440 + 0x14);
ds->read(vals, 8);
m_apploaderSz = SBig(vals[0]) + SBig(vals[1]);
m_apploaderSz = 32 + SBig(vals[0]) + SBig(vals[1]);
/* Yay files!! */
parseFST(*ds.get());