Remove redundant apploader path

This commit is contained in:
Phillip Stephens 2015-07-03 14:52:08 -07:00
parent 22b6f2c09d
commit d09a2d1b0e

View File

@ -91,7 +91,7 @@ void DiscBase::IPartition::extractToDirectory(const SystemString& path, bool for
std::unique_ptr<uint8_t[]> buf(new uint8_t[m_apploaderSz]); std::unique_ptr<uint8_t[]> buf(new uint8_t[m_apploaderSz]);
std::unique_ptr<IPartReadStream> rs = beginReadStream(0x2440); std::unique_ptr<IPartReadStream> rs = beginReadStream(0x2440);
rs->read(buf.get(), m_apploaderSz); rs->read(buf.get(), m_apploaderSz);
std::unique_ptr<IFileIO::IWriteStream> ws = NewFileIO(path + _S("/apploader.bin"))->beginWriteStream(); std::unique_ptr<IFileIO::IWriteStream> ws = NewFileIO(apploaderPath)->beginWriteStream();
ws->write(buf.get(), m_apploaderSz); ws->write(buf.get(), m_apploaderSz);
} }