summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/symbfac2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/symbfac2.cpp')
-rw-r--r--src/devices/bus/cpc/symbfac2.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/cpc/symbfac2.cpp b/src/devices/bus/cpc/symbfac2.cpp
index 049e5f487f2..cba1e4c5003 100644
--- a/src/devices/bus/cpc/symbfac2.cpp
+++ b/src/devices/bus/cpc/symbfac2.cpp
@@ -21,7 +21,7 @@
#include "symbfac2.h"
-const device_type CPC_SYMBIFACE2 = device_creator<cpc_symbiface2_device>;
+DEFINE_DEVICE_TYPE(CPC_SYMBIFACE2, cpc_symbiface2_device, "cpc_symf2", "SYMBiFACE II")
//**************************************************************************
// DEVICE CONFIG INTERFACE
@@ -73,14 +73,16 @@ ioport_constructor cpc_symbiface2_device::device_input_ports() const
//**************************************************************************
cpc_symbiface2_device::cpc_symbiface2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, CPC_SYMBIFACE2, "SYMBiFACE II", tag, owner, clock, "cpc_symf2", __FILE__),
- device_cpc_expansion_card_interface(mconfig, *this), m_slot(nullptr),
+ device_t(mconfig, CPC_SYMBIFACE2, tag, owner, clock),
+ device_cpc_expansion_card_interface(mconfig, *this),
+ m_slot(nullptr),
m_ide(*this,"ide"),
m_rtc(*this,"rtc"),
m_nvram(*this,"nvram"),
m_mouse_x(*this,"sf2_mouse_x"),
m_mouse_y(*this,"sf2_mouse_y"),
- m_mouse_buttons(*this,"sf2_mouse_buttons"), m_iohigh(false), m_ide_data(0), m_mouse_state(0), m_input_x(0), m_input_y(0), m_4xxx_ptr_r(nullptr), m_4xxx_ptr_w(nullptr), m_6xxx_ptr_r(nullptr), m_6xxx_ptr_w(nullptr)
+ m_mouse_buttons(*this,"sf2_mouse_buttons"),
+ m_iohigh(false), m_ide_data(0), m_mouse_state(0), m_input_x(0), m_input_y(0), m_4xxx_ptr_r(nullptr), m_4xxx_ptr_w(nullptr), m_6xxx_ptr_r(nullptr), m_6xxx_ptr_w(nullptr)
{
}