summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/coco.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-13 07:50:33 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-13 07:50:33 +0000
commitaf9a5e817d3eefdda79e801056b29167ecbcdef9 (patch)
tree3478327edb721e5adcd1a9965fea7b353bf72427 /src/mess/includes/coco.h
parentf2a79b9dca3c9b09abaf7d741d211161c5bc20e6 (diff)
moved constructor of state classes into .h file (no whatsnew)
Diffstat (limited to 'src/mess/includes/coco.h')
-rw-r--r--src/mess/includes/coco.h16
1 files changed, 15 insertions, 1 deletions
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<cpu_device> m_maincpu;
required_device<pia6821_device> m_pia_0;