mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ:メーカコードに00hを許さないようにチェックを変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2524 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
1440e6a46d
commit
9f15040b91
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -950,7 +950,7 @@ ECSrlResult RCSrl::mrcNTR( FILE *fp )
|
||||
for( i=0; i < GAME_CODE_MAX; i++ )
|
||||
{
|
||||
char c = this->pRomHeader->s.game_code[i];
|
||||
if( (c < 0x20) || (0x5f < c) )
|
||||
if( (c < 0x20) || (0x5f < c) ) // 00hを許さない
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
@ -972,7 +972,7 @@ ECSrlResult RCSrl::mrcNTR( FILE *fp )
|
||||
for( i=0; i < MAKER_CODE_MAX; i++ )
|
||||
{
|
||||
char c = this->pRomHeader->s.maker_code[i];
|
||||
if( ((c < 0x20) || (0x5f < c)) && (c != 0x00) )
|
||||
if( (c < 0x20) || (0x5f < c) )
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user