Silenced GD-Rom file creation.

This commit is contained in:
Angelo Salese 2009-04-06 19:01:12 +00:00
parent 7f3993fc41
commit 81e9491b72

View File

@ -339,6 +339,7 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int
des_generate_subkeys (rev64(key), des_subkeys); des_generate_subkeys (rev64(key), des_subkeys);
#ifdef MAME_DEBUG
/* save the original file */ /* save the original file */
{ {
FILE *fp; FILE *fp;
@ -351,6 +352,7 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int
fclose(fp); fclose(fp);
} }
} }
#endif
for(i=0;i<length;i+=8) for(i=0;i<length;i+=8)
{ {
@ -362,6 +364,7 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int
write_from_qword(region+i, ret); write_from_qword(region+i, ret);
} }
#ifdef MAME_DEBUG
/* save the decrypted file */ /* save the decrypted file */
{ {
FILE *fp; FILE *fp;
@ -374,6 +377,6 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int
fclose(fp); fclose(fp);
} }
} }
#endif
} }