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/dragon.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/mess/includes/dragon.h') 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 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 m_acia; -- cgit v1.2.3