diff options
Diffstat (limited to 'src/devices/bus/saitek_osa/maestro.h')
-rw-r--r-- | src/devices/bus/saitek_osa/maestro.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/saitek_osa/maestro.h b/src/devices/bus/saitek_osa/maestro.h index fee4b497d03..89c580c9ef5 100644 --- a/src/devices/bus/saitek_osa/maestro.h +++ b/src/devices/bus/saitek_osa/maestro.h @@ -16,6 +16,9 @@ #include "bus/generic/slot.h" #include "video/hd44780.h" +DECLARE_DEVICE_TYPE(OSA_MAESTRO, saitekosa_maestro_device) +DECLARE_DEVICE_TYPE(OSA_ANALYST, saitekosa_analyst_device) + class saitekosa_maestro_device : public device_t, public device_saitekosa_expansion_interface { @@ -69,6 +72,8 @@ public: virtual u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) override; + static auto parent_rom_device_type() { return &OSA_MAESTRO; } + protected: virtual const tiny_rom_entry *device_rom_region() const override; virtual void device_add_mconfig(machine_config &config) override; @@ -80,8 +85,4 @@ private: virtual void main_map(address_map &map) override; }; - -DECLARE_DEVICE_TYPE(OSA_MAESTRO, saitekosa_maestro_device) -DECLARE_DEVICE_TYPE(OSA_ANALYST, saitekosa_analyst_device) - #endif // MAME_BUS_SAITEKOSA_MAESTRO_H |