diff --git a/src/mame/machine/gdcrypt.c b/src/mame/machine/gdcrypt.c index 012bcddb5a4..505e29d22a0 100644 --- a/src/mame/machine/gdcrypt.c +++ b/src/mame/machine/gdcrypt.c @@ -339,6 +339,7 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int des_generate_subkeys (rev64(key), des_subkeys); + #ifdef MAME_DEBUG /* save the original file */ { FILE *fp; @@ -351,6 +352,7 @@ void naomi_game_decrypt(running_machine* machine, UINT64 key, UINT8* region, int fclose(fp); } } + #endif for(i=0;i