mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-22 17:19:18 +01:00
*svnfail
This commit is contained in:
parent
a8c39270b8
commit
12964e5c91
@ -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