diff --git a/src/mame/drivers/cosmic.cpp b/src/mame/drivers/cosmic.cpp index 573580cccfb..9bfb1f3a8cd 100644 --- a/src/mame/drivers/cosmic.cpp +++ b/src/mame/drivers/cosmic.cpp @@ -1592,19 +1592,6 @@ void cosmic_state::init_cosmica() { m_sound_enabled = 1; m_dive_bomb_b_select = 0; - - uint8_t *ROM = memregion("maincpu")->base(); - - { - char filename[256]; - sprintf(filename,"decrypted_%s", machine().system().name); - FILE *fp = fopen(filename, "w+b"); - if (fp) - { - fwrite(ROM, 0x3000, 1, fp); - fclose(fp); - } - } }