summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/megadrive/md_slot.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-07-21 21:10:18 -0400
committer Nathan Woods <npwoods@mess.org>2016-07-21 21:10:18 -0400
commitae5dab64d7ad7c0a6facfb5e749ff028647bc2e3 (patch)
tree75eb026f354ba15a87ad881353d49d4581adf3df /src/devices/bus/megadrive/md_slot.cpp
parent85d9536cdb972a1cba7188a8fb4f842f4856353b (diff)
device_image_interface::call_softlist_load() was a virtual function where every implementation was one of two copy-and-paste jobs. This change consolidates all of these implementations, replacing that virtual function with a mere hook that chooses which technique to perform
Diffstat (limited to 'src/devices/bus/megadrive/md_slot.cpp')
-rw-r--r--src/devices/bus/megadrive/md_slot.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/devices/bus/megadrive/md_slot.cpp b/src/devices/bus/megadrive/md_slot.cpp
index 55d80f8b64d..2bcd3da9d9d 100644
--- a/src/devices/bus/megadrive/md_slot.cpp
+++ b/src/devices/bus/megadrive/md_slot.cpp
@@ -683,16 +683,6 @@ void base_md_cart_slot_device::setup_nvram()
-/*-------------------------------------------------
- call softlist load
- -------------------------------------------------*/
-
-bool base_md_cart_slot_device::call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry)
-{
- machine().rom_load().load_software_part_region(*this, swlist, swname, start_entry);
- return TRUE;
-}
-
int base_md_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
{
int type = SEGA_STD;