Previous 15994 Revisions Next

r3084 Friday 22nd August, 2008 at 19:08:05 UTC by Curt Coder
[NANO] Fixed quickload.
[src/mess/drivers]tmc1800.c

src/mess/drivers/tmc1800.c
r3083r3084
7474
7575static QUICKLOAD_LOAD( tmc1800 );
7676static QUICKLOAD_LOAD( tmc2000 );
77static QUICKLOAD_LOAD( oscnano );
7778
7879static MACHINE_RESET( tmc1800 );
7980static MACHINE_RESET( tmc2000 );
r3083r3084
812813
813814   // quickload
814815
815   MDRV_QUICKLOAD_ADD(tmc1800, "bin", 0)
816   MDRV_QUICKLOAD_ADD(oscnano, "bin", 0)
816817MACHINE_DRIVER_END
817818
818819/* ROMs */
r3083r3084
882883   return INIT_PASS;
883884}
884885
886static QUICKLOAD_LOAD( oscnano )
887{
888   running_machine *machine = image->machine;
889   int size = image_length(image);
890
891   if (size > mess_ram_size)
892   {
893      return INIT_FAIL;
894   }
895
896   image_fread(image, &mess_ram, size);
897
898   MACHINE_RESET_CALL(oscnano);
899
900   return INIT_PASS;
901}
902
885903static void tmc1800_cassette_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info)
886904{
887905   /* cassette */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team