diff options
author | 2016-07-23 09:10:14 -0400 | |
---|---|---|
committer | 2016-07-23 09:10:14 -0400 | |
commit | e45d316bc9683d46c5a0414e57f9ec1b99d64d05 (patch) | |
tree | 15bbe60850ecbf2c4a1d590e3bd90498887cebf1 /src/devices/bus/nes | |
parent | ae5dab64d7ad7c0a6facfb5e749ff028647bc2e3 (diff) |
Vas Crabb feedback: Replacing the enum with a class hierarchy, derived from 'software_list_loader'
Diffstat (limited to 'src/devices/bus/nes')
-rw-r--r-- | src/devices/bus/nes/aladdin.h | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/datach.h | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/karastudio.h | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/nes_slot.h | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/sunsoft_dcs.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/nes/aladdin.h b/src/devices/bus/nes/aladdin.h index be1302edb78..d00f473c655 100644 --- a/src/devices/bus/nes/aladdin.h +++ b/src/devices/bus/nes/aladdin.h @@ -52,7 +52,7 @@ public: // image-level overrides virtual bool call_load() override; - virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } diff --git a/src/devices/bus/nes/datach.h b/src/devices/bus/nes/datach.h index cea5c098dc6..44d2040d99a 100644 --- a/src/devices/bus/nes/datach.h +++ b/src/devices/bus/nes/datach.h @@ -54,7 +54,7 @@ public: // image-level overrides virtual bool call_load() override; - virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } diff --git a/src/devices/bus/nes/karastudio.h b/src/devices/bus/nes/karastudio.h index 48541ac8dc2..e7bc33f38d2 100644 --- a/src/devices/bus/nes/karastudio.h +++ b/src/devices/bus/nes/karastudio.h @@ -51,7 +51,7 @@ public: // image-level overrides virtual bool call_load() override; - virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } diff --git a/src/devices/bus/nes/nes_slot.h b/src/devices/bus/nes/nes_slot.h index f26aea85d78..26a25d3a8ee 100644 --- a/src/devices/bus/nes/nes_slot.h +++ b/src/devices/bus/nes/nes_slot.h @@ -346,7 +346,7 @@ public: // image-level overrides virtual bool call_load() override; virtual void call_unload() override; - virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } void call_load_ines(); void call_load_unif(); diff --git a/src/devices/bus/nes/sunsoft_dcs.h b/src/devices/bus/nes/sunsoft_dcs.h index 6e9a0cb5422..5734c9321d5 100644 --- a/src/devices/bus/nes/sunsoft_dcs.h +++ b/src/devices/bus/nes/sunsoft_dcs.h @@ -48,7 +48,7 @@ public: // image-level overrides virtual bool call_load() override; - virtual softlist_type get_softlist_type() const override { return softlist_type::ROM; } + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } |