マスタエディタ:メーカコードに00hを許さないようにチェックを変更。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2524 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-09-15 10:20:36 +00:00
parent 1440e6a46d
commit 9f15040b91
4 changed files with 2 additions and 2 deletions

View File

@ -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;
}