Previous 199869 Revisions Next

r23872 Sunday 23rd June, 2013 at 10:31:14 UTC by Fabio Priuli
(MESS) megaduck: fixed loading of some carts from command line. nw.
[src/mess/machine]gb_slot.c gb_slot.h

trunk/src/mess/machine/gb_slot.c
r23871r23872
602602}
603603
604604
605const char * megaduck_cart_slot_device::get_default_card_software(const machine_config &config, emu_options &options)
606{
607   if (open_image_file(options))
608      return "rom";
609   
610   return software_get_default_slot(config, options, this, "rom");
611}
605612
613
614
606615/*-------------------------------------------------
607616 read
608617 -------------------------------------------------*/
trunk/src/mess/machine/gb_slot.h
r23871r23872
178178   virtual bool call_load();
179179   virtual const char *image_interface() const { return "megaduck_cart"; }
180180   virtual const char *file_extensions() const { return "bin"; }
181   
182   // slot interface overrides
183   virtual const char * get_default_card_software(const machine_config &config, emu_options &options);
181184};
182185
183186

Previous 199869 Revisions Next


© 1997-2024 The MAME Team