mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-12-27 13:21:49 +01:00
*svnfail
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@76 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
bb4f9e1653
commit
13610f87ad
@ -368,8 +368,8 @@ bool NandBin::ExtractFST( quint16 entry, const QString &path, bool singleFile )
|
|||||||
bool NandBin::ExtractDir( fst_t fst, const QString &parent )
|
bool NandBin::ExtractDir( fst_t fst, const QString &parent )
|
||||||
{
|
{
|
||||||
//qDebug() << "NandBin::ExtractDir(" << parent << ")";
|
//qDebug() << "NandBin::ExtractDir(" << parent << ")";
|
||||||
QByteArray ba( (char*)fst.filename, 0xc );
|
//QByteArray ba( (char*)fst.filename, 0xc );
|
||||||
QString filename( ba );
|
QString filename = FstName( fst );
|
||||||
|
|
||||||
QFileInfo fi( parent );
|
QFileInfo fi( parent );
|
||||||
if( filename != "/" )
|
if( filename != "/" )
|
||||||
@ -389,8 +389,8 @@ bool NandBin::ExtractDir( fst_t fst, const QString &parent )
|
|||||||
|
|
||||||
bool NandBin::ExtractFile( fst_t fst, const QString &parent )
|
bool NandBin::ExtractFile( fst_t fst, const QString &parent )
|
||||||
{
|
{
|
||||||
QByteArray ba( (char*)fst.filename, 0xc );
|
//QByteArray ba( (char*)fst.filename, 0xc );
|
||||||
QString filename( ba );
|
QString filename = FstName( fst );
|
||||||
QFileInfo fi( parent + "/" + filename );
|
QFileInfo fi( parent + "/" + filename );
|
||||||
qDebug() << "extract" << fi.absoluteFilePath();
|
qDebug() << "extract" << fi.absoluteFilePath();
|
||||||
emit SendText( tr( "Extracting \"%1\"" ).arg( fi.absoluteFilePath() ) );
|
emit SendText( tr( "Extracting \"%1\"" ).arg( fi.absoluteFilePath() ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user