diff options
Diffstat (limited to 'src/mame/includes/harddriv.h')
-rw-r--r-- | src/mame/includes/harddriv.h | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/src/mame/includes/harddriv.h b/src/mame/includes/harddriv.h index 0fc04b04faa..cff18a7e6f9 100644 --- a/src/mame/includes/harddriv.h +++ b/src/mame/includes/harddriv.h @@ -22,7 +22,6 @@ #define HARDDRIV_MASTER_CLOCK XTAL_32MHz #define HARDDRIV_GSP_CLOCK XTAL_48MHz -extern const device_type HARDDRIV_DEVICE; extern const device_type HARDDRIV_BOARD_DEVICE; extern const device_type HARDDRIVC_BOARD_DEVICE; extern const device_type RACEDRIV_BOARD_DEVICE; @@ -46,7 +45,7 @@ class harddriv_state : public device_t /* public device_video_interface */ { public: - harddriv_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + harddriv_state(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); void init_strtdriv(void); @@ -561,6 +560,7 @@ class racedriv_board_device_state : public harddriv_state { public: racedriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + racedriv_board_device_state(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -571,9 +571,7 @@ protected: class racedrivb1_board_device_state : public racedriv_board_device_state { public: - racedrivb1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - racedriv_board_device_state(mconfig, tag, owner, clock) - {}; + racedrivb1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); protected: virtual void device_start() override; @@ -585,6 +583,7 @@ class racedrivc_board_device_state : public harddriv_state { public: racedrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + racedrivc_board_device_state(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -595,9 +594,8 @@ protected: class racedrivc1_board_device_state : public racedrivc_board_device_state { public: - racedrivc1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - racedrivc_board_device_state(mconfig, tag, owner, clock) - {}; + racedrivc1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + protected: virtual void device_start() override; }; @@ -605,9 +603,8 @@ protected: class racedrivc_panorama_side_board_device_state : public racedrivc_board_device_state { public: - racedrivc_panorama_side_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - racedrivc_board_device_state(mconfig, tag, owner, clock) - {}; + racedrivc_panorama_side_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + protected: virtual machine_config_constructor device_mconfig_additions() const override; virtual void device_start() override; @@ -633,6 +630,7 @@ class steeltal_board_device_state : public harddriv_state { public: steeltal_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + steeltal_board_device_state(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -643,9 +641,7 @@ protected: class steeltal1_board_device_state : public steeltal_board_device_state { public: - steeltal1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - steeltal_board_device_state(mconfig, tag, owner, clock) - {}; + steeltal1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); protected: virtual void device_start() override; @@ -654,9 +650,7 @@ protected: class steeltalp_board_device_state : public steeltal_board_device_state { public: - steeltalp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - steeltal_board_device_state(mconfig, tag, owner, clock) - {}; + steeltalp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); protected: virtual void device_start() override; @@ -683,6 +677,7 @@ class hdrivair_board_device_state : public harddriv_state { public: hdrivair_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + hdrivair_board_device_state(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -693,10 +688,7 @@ protected: class hdrivairp_board_device_state : public hdrivair_board_device_state { public: - hdrivairp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - hdrivair_board_device_state(mconfig, tag, owner, clock) - {}; - + hdrivairp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); protected: virtual void device_start() override; }; |