From af9a5e817d3eefdda79e801056b29167ecbcdef9 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 13 Sep 2012 07:50:33 +0000 Subject: moved constructor of state classes into .h file (no whatsnew) --- src/mess/includes/coco.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/mess/includes/coco.h') diff --git a/src/mess/includes/coco.h b/src/mess/includes/coco.h index 3b44f435314..6e8ff9f80b2 100644 --- a/src/mess/includes/coco.h +++ b/src/mess/includes/coco.h @@ -81,7 +81,21 @@ MACHINE_CONFIG_EXTERN( coco_sound ); class coco_state : public driver_device { public: - coco_state(const machine_config &mconfig, device_type type, const char *tag); + coco_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, MAINCPU_TAG), + m_pia_0(*this, PIA0_TAG), + m_pia_1(*this, PIA1_TAG), + m_dac(*this, DAC_TAG), + m_wave(*this, WAVE_TAG), + m_cococart(*this, CARTRIDGE_TAG), + m_ram(*this, RAM_TAG), + m_cassette(*this, CASSETTE_TAG), + m_bitbanger(*this, BITBANGER_TAG), + m_vhd_0(*this, VHD0_TAG), + m_vhd_1(*this, VHD1_TAG) + { + } required_device m_maincpu; required_device m_pia_0; -- cgit v1.2.3