From ae5dab64d7ad7c0a6facfb5e749ff028647bc2e3 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Thu, 21 Jul 2016 21:10:18 -0400 Subject: 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 --- src/devices/bus/z88/z88.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/bus/z88/z88.h') diff --git a/src/devices/bus/z88/z88.h b/src/devices/bus/z88/z88.h index cca92231fae..b94622321a1 100644 --- a/src/devices/bus/z88/z88.h +++ b/src/devices/bus/z88/z88.h @@ -96,7 +96,7 @@ public: // image-level overrides virtual bool call_load() override; virtual void call_unload() override; - virtual bool call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry) override; + virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } -- cgit v1.2.3-70-g09d2