diff options
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 |
commit | ae5dab64d7ad7c0a6facfb5e749ff028647bc2e3 (patch) | |
tree | 75eb026f354ba15a87ad881353d49d4581adf3df /src/devices/bus/gba/gba_slot.h | |
parent | 85d9536cdb972a1cba7188a8fb4f842f4856353b (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/gba/gba_slot.h')
-rw-r--r-- | src/devices/bus/gba/gba_slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/gba/gba_slot.h b/src/devices/bus/gba/gba_slot.h index d9972f1813d..5a50cb736b5 100644 --- a/src/devices/bus/gba/gba_slot.h +++ b/src/devices/bus/gba/gba_slot.h @@ -87,7 +87,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; } int get_type() { return m_type; } int get_cart_type(UINT8 *ROM, UINT32 len); |