| 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 |
| r23871 | r23872 | |
|---|---|---|
| 602 | 602 | } |
| 603 | 603 | |
| 604 | 604 | |
| 605 | const 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 | } | |
| 605 | 612 | |
| 613 | ||
| 614 | ||
| 606 | 615 | /*------------------------------------------------- |
| 607 | 616 | read |
| 608 | 617 | -------------------------------------------------*/ |
| r23871 | r23872 | |
|---|---|---|
| 178 | 178 | virtual bool call_load(); |
| 179 | 179 | virtual const char *image_interface() const { return "megaduck_cart"; } |
| 180 | 180 | 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); | |
| 181 | 184 | }; |
| 182 | 185 | |
| 183 | 186 |
| Previous | 199869 Revisions | Next |