mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ:システム・セキュア・ランチャーでデバッガ動作禁止フラグが立っていないとき警告を出す。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2506 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
c71b3d8adf
commit
64da8e5e35
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#define METWL_WHETHER_PLATFORM_CHECK // プラットフォームがTWL対応以外かどうかをチェックする
|
||||
#define METWL_WHETHER_SIGN_DECRYPT // 署名を外してダイジェストをベリファイする
|
||||
//#define METWL_WHETHER_SIGN_DECRYPT // 署名を外してダイジェストをベリファイする
|
||||
#define METWL_WHETHER_MRC // MRC機能を含めるか
|
||||
//#define METWL_LIGHT_CHECK // 提出条件を緩くするか
|
||||
|
||||
|
||||
@ -1087,6 +1087,19 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
||||
}
|
||||
}
|
||||
|
||||
if( *this->hIsAppLauncher || *this->hIsAppSecure || *this->hIsAppSystem )
|
||||
{
|
||||
if( this->pRomHeader->s.disable_debug == 0 )
|
||||
{
|
||||
this->hWarnList->Add( gcnew RCMrcError(
|
||||
"デバッグ動作禁止フラグ", 0x1f, 0x1f,
|
||||
"デバッガ上で動作可能な設定になっています。デバッガ向けソフトとしてROMをリリースする場合にはセキュリティ上の問題がないかご確認ください。",
|
||||
"Disable Launch on Debugger Flag",
|
||||
"This ROM is launched on the debugger. If the ROM is released for the debugger, please check the security settings.",
|
||||
false, true ) );
|
||||
}
|
||||
}
|
||||
|
||||
if( this->pRomHeader->s.warning_no_spec_rom_speed != 0 )
|
||||
{
|
||||
this->hWarnList->Add( gcnew RCMrcError(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user