mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-25 18:46:56 +01:00
*ohneschwanzenegger:: change handeling of uid.sys on content -> format
This commit is contained in:
parent
64af2c61f5
commit
3d7a8fb8fb
@ -981,7 +981,8 @@ void MainWindow::on_actionFormat_triggered()
|
|||||||
ShowMessage( "<b>Error! Can't cert.sys.</b>" );
|
ShowMessage( "<b>Error! Can't cert.sys.</b>" );
|
||||||
return;
|
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
|
//wipe all user-created entries from uid.sys
|
||||||
QByteArray uidData = uid.Data();
|
QByteArray uidData = uid.Data();
|
||||||
QBuffer buf( &uidData );
|
QBuffer buf( &uidData );
|
||||||
@ -1010,7 +1011,8 @@ void MainWindow::on_actionFormat_triggered()
|
|||||||
uidData.resize( 12 * titles );
|
uidData.resize( 12 * titles );
|
||||||
//hexdump12( uidData );
|
//hexdump12( uidData );
|
||||||
uid = UIDmap( uidData );
|
uid = UIDmap( uidData );
|
||||||
|
#endif
|
||||||
|
uid.CreateNew();
|
||||||
uidDirty = true;
|
uidDirty = true;
|
||||||
sharedDirty = true;
|
sharedDirty = true;
|
||||||
shared = SharedContentMap();
|
shared = SharedContentMap();
|
||||||
|
Loading…
Reference in New Issue
Block a user