mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-25 06:16:51 +01:00
forgot this
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@11 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
ea71bb3f9a
commit
d8ea7b899b
@ -22,7 +22,8 @@ NandBin::~NandBin()
|
|||||||
|
|
||||||
bool NandBin::SetPath( const QString &path )
|
bool NandBin::SetPath( const QString &path )
|
||||||
{
|
{
|
||||||
nandPath = path;
|
nandPath = path;//TODO: dont need both these variables. definitely dont need to set the global one here
|
||||||
|
nandFile = path;
|
||||||
if( f.isOpen() )
|
if( f.isOpen() )
|
||||||
f.close();
|
f.close();
|
||||||
|
|
||||||
@ -252,7 +253,7 @@ bool NandBin::GetKey( int type )
|
|||||||
emit SendError( tr( "Error getting path of keys.bin" ) );
|
emit SendError( tr( "Error getting path of keys.bin" ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
keyPath.resize( sl );
|
keyPath.resize( sl + 1 );
|
||||||
keyPath += "keys.bin";
|
keyPath += "keys.bin";
|
||||||
|
|
||||||
key = ReadKeyfile( keyPath );
|
key = ReadKeyfile( keyPath );
|
||||||
|
Loading…
Reference in New Issue
Block a user