diff options
author | 2012-09-13 07:50:33 +0000 | |
---|---|---|
committer | 2012-09-13 07:50:33 +0000 | |
commit | af9a5e817d3eefdda79e801056b29167ecbcdef9 (patch) | |
tree | 3478327edb721e5adcd1a9965fea7b353bf72427 /src/mess/includes/dragon.h | |
parent | f2a79b9dca3c9b09abaf7d741d211161c5bc20e6 (diff) |
moved constructor of state classes into .h file (no whatsnew)
Diffstat (limited to 'src/mess/includes/dragon.h')
-rw-r--r-- | src/mess/includes/dragon.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mess/includes/dragon.h b/src/mess/includes/dragon.h index 849bf87dbeb..fda08caebb8 100644 --- a/src/mess/includes/dragon.h +++ b/src/mess/includes/dragon.h @@ -34,7 +34,11 @@ class dragon_state : public coco12_state { public: - dragon_state(const machine_config &mconfig, device_type type, const char *tag); + dragon_state(const machine_config &mconfig, device_type type, const char *tag) + : coco12_state(mconfig, type, tag), + m_printer(*this, PRINTER_TAG) + { + } required_device<printer_image_device> m_printer; @@ -47,7 +51,11 @@ protected: class dragon64_state : public dragon_state { public: - dragon64_state(const machine_config &mconfig, device_type type, const char *tag); + dragon64_state(const machine_config &mconfig, device_type type, const char *tag) + : dragon_state(mconfig, type, tag), + m_acia(*this, ACIA_TAG) + { + } required_device<acia6551_device> m_acia; |