mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:ミドルウェアリスト単体のHTML出力がXML出力になっていた問題を修正。アクセスコントロールの不正を警告からエラーに変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@80 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
aac3ba3286
commit
42243ecebf
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3514,7 +3514,7 @@ private: System::Windows::Forms::CheckBox^ cboxIsUnnecessaryRating;
|
|||||||
|
|
||||||
System::String ^filename = this->saveFileDlg( "html format (*.html)|*.html", ".html" );
|
System::String ^filename = this->saveFileDlg( "html format (*.html)|*.html", ".html" );
|
||||||
|
|
||||||
if( !filename || !this->saveMiddlewareListXmlEmbeddedXsl(filename) )
|
if( !filename || !this->saveMiddlewareListHtml(filename) )
|
||||||
{
|
{
|
||||||
this->errMsg( "ミドルウェアリストの作成に失敗しました。","Making a middleware list failed." );
|
this->errMsg( "ミドルウェアリストの作成に失敗しました。","Making a middleware list failed." );
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1465,7 +1465,7 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
{
|
{
|
||||||
if( this->pRomHeader->s.access_control.sd_card_access != 0 )
|
if( this->pRomHeader->s.access_control.sd_card_access != 0 )
|
||||||
{
|
{
|
||||||
this->hWarnList->Add( gcnew RCMrcError(
|
this->hErrorList->Add( gcnew RCMrcError(
|
||||||
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
||||||
"SDカードへのアクセスは許可されていません。",
|
"SDカードへのアクセスは許可されていません。",
|
||||||
"Access Control Info.",
|
"Access Control Info.",
|
||||||
@ -1476,7 +1476,7 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
{
|
{
|
||||||
if( this->pRomHeader->s.access_control.nand_access != 0 )
|
if( this->pRomHeader->s.access_control.nand_access != 0 )
|
||||||
{
|
{
|
||||||
this->hWarnList->Add( gcnew RCMrcError(
|
this->hErrorList->Add( gcnew RCMrcError(
|
||||||
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
||||||
"ゲームカード用ソフトは、NANDフラッシュメモリへのアクセスを許可されていません。",
|
"ゲームカード用ソフトは、NANDフラッシュメモリへのアクセスを許可されていません。",
|
||||||
"Access Control Info.",
|
"Access Control Info.",
|
||||||
@ -1484,11 +1484,19 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
|||||||
false, true ) );
|
false, true ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
u32 okbits = 0x00000008 | 0x00000010 | 0x00000400;
|
u32 okbits;
|
||||||
|
if( !this->IsMediaNand )
|
||||||
|
{
|
||||||
|
okbits = 0x00000008 | 0x00000010;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
okbits = 0x00000008 | 0x00000010 | 0x00000400; // NANDアプリのときはJpegSignフラグは許される
|
||||||
|
}
|
||||||
u32 *p = (u32*)&(this->pRomHeader->s);
|
u32 *p = (u32*)&(this->pRomHeader->s);
|
||||||
if( p[ 0x1b4 / 4 ] & ~okbits )
|
if( p[ 0x1b4 / 4 ] & ~okbits )
|
||||||
{
|
{
|
||||||
this->hWarnList->Add( gcnew RCMrcError(
|
this->hErrorList->Add( gcnew RCMrcError(
|
||||||
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
"アクセスコントロール情報", 0x1b4, 0x1b7,
|
||||||
"許可されていないアクセスが設定されています。この設定は許可されていません。",
|
"許可されていないアクセスが設定されています。この設定は許可されていません。",
|
||||||
"Access Control Info.",
|
"Access Control Info.",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user