mirror of
https://github.com/martravi/wiiqt6.git
synced 2025-04-07 17:56:52 +02:00
*ohneschwanzenegger:: change handeling of uid.sys on content -> format
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@103 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
dbeaa3ea98
commit
7752ff1843
@ -133,7 +133,7 @@ void MainWindow::GetError( const QString &message )
|
||||
ui->plainTextEdit_log->appendHtml( str );
|
||||
}
|
||||
|
||||
void MainWindow::ShowMessage( const QString& mes )
|
||||
void MainWindow::ShowMessage( const QString &mes )
|
||||
{
|
||||
QString str = mes + "<br>";
|
||||
ui->plainTextEdit_log->appendHtml( str );
|
||||
@ -981,7 +981,8 @@ void MainWindow::on_actionFormat_triggered()
|
||||
ShowMessage( "<b>Error! Can't cert.sys.</b>" );
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0//this doesnt work right when the source uid came with 4.3 from the factory and then 3.2 or something lower is
|
||||
//installed. there are a bunch of unneeded entries for IOS left behind
|
||||
//wipe all user-created entries from uid.sys
|
||||
QByteArray uidData = uid.Data();
|
||||
QBuffer buf( &uidData );
|
||||
@ -1010,7 +1011,8 @@ void MainWindow::on_actionFormat_triggered()
|
||||
uidData.resize( 12 * titles );
|
||||
//hexdump12( uidData );
|
||||
uid = UIDmap( uidData );
|
||||
|
||||
#endif
|
||||
uid.CreateNew();
|
||||
uidDirty = true;
|
||||
sharedDirty = true;
|
||||
shared = SharedContentMap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user