Previous 199869 Revisions Next

r23844 Friday 21st June, 2013 at 17:49:36 UTC by Alex Jackson
neocrypt.c: remove debug code [nw]
[src/mame/machine]neocrypt.c

trunk/src/mame/machine/neocrypt.c
r23843r23844
15631563
15641564   memcpy(rom, buf, 0x80000);
15651565   auto_free(machine(), buf);
1566
1567   {
1568      FILE *fp;
1569      const char *gamename = machine().system().name;
1570      int rom_size = memregion("mainbios")->bytes();
1571      char filename[256];
1572      sprintf(filename, "%s_bios.dump", gamename);
1573
1574      fp=fopen(filename, "w+b");
1575      if (fp)
1576      {
1577         fwrite(rom, rom_size, 1, fp);
1578         fclose(fp);
1579      }
1580   }
15811566}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team